Wrap clang too
This commit is contained in:
parent
eb1dc238b1
commit
070b96598a
@ -41,6 +41,8 @@ in wrapCCWith {
|
||||
|
||||
echo "--gcc-toolchain=${gcc}" >> $out/nix-support/cc-cflags
|
||||
|
||||
# Protect against access to clang/clang++ instead of $CC/$CXX
|
||||
wrap clang $wrapper $ccPath/clang
|
||||
wrap clang++ $wrapper $ccPath/clang++
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user