mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
eclass/toolchain-funcs: Sync with Gentoo
It's from Gentoo commit 1f14d47e71be09731dc65f2547455921972539be.
This commit is contained in:
parent
a3fb510ac9
commit
61923e3789
@ -73,6 +73,10 @@ tc-getCPP() { tc-getPROG CPP "${CC:-gcc} -E" "$@"; }
|
||||
# @USAGE: [toolchain prefix]
|
||||
# @RETURN: name of the C++ compiler
|
||||
tc-getCXX() { tc-getPROG CXX g++ "$@"; }
|
||||
# @FUNCTION: tc-getHIPCXX
|
||||
# @USAGE: [toolchain prefix]
|
||||
# @RETURN: name of the HIP compiler
|
||||
tc-getHIPCXX() { tc-getPROG HIPCXX "$(hipconfig --hipclangpath)/clang++" "$@"; }
|
||||
# @FUNCTION: tc-getLD
|
||||
# @USAGE: [toolchain prefix]
|
||||
# @RETURN: name of the linker
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user