eclass/toolchain-funcs: Sync with Gentoo

It's from Gentoo commit 1f14d47e71be09731dc65f2547455921972539be.
This commit is contained in:
Flatcar Buildbot 2025-07-07 07:12:20 +00:00
parent a3fb510ac9
commit 61923e3789

View File

@ -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