llvmPackages_11: Add $rsrc/lib
to default cflags
This commit is contained in:
parent
e1b98ac282
commit
2000ae5429
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ let
|
|||
mkdir "$rsrc"
|
||||
ln -s "${cc.lib}/lib/clang/${release_version}/include" "$rsrc"
|
||||
echo "-resource-dir=$rsrc" >> $out/nix-support/cc-cflags
|
||||
echo "-B $rsrc/lib" >> $out/nix-support/cc-cflags
|
||||
'';
|
||||
mkExtraBuildCommands = cc: mkExtraBuildCommands0 cc + ''
|
||||
ln -s "${targetLlvmLibraries.compiler-rt.out}/lib" "$rsrc/lib"
|
||||
|
|
Loading…
Reference in a new issue