Wrap clang too

This commit is contained in:
Rodrigo Arias 2025-01-23 09:04:08 +01:00
parent eb1dc238b1
commit 070b96598a

View File

@ -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++
'';
}