cc-wrapper: broaden explicit libc++abi linking for LLVM stdenv
This commit is contained in:
parent
60c97a605c
commit
b060076e21
|
@ -374,7 +374,6 @@ stdenv.mkDerivation {
|
|||
+ optionalString (libcxx.isLLVM or false) (''
|
||||
echo "-isystem ${lib.getDev libcxx}/include/c++/v1" >> $out/nix-support/libcxx-cxxflags
|
||||
echo "-stdlib=libc++" >> $out/nix-support/libcxx-ldflags
|
||||
'' + lib.optionalString stdenv.targetPlatform.isLinux ''
|
||||
echo "-lc++abi" >> $out/nix-support/libcxx-ldflags
|
||||
'')
|
||||
|
||||
|
|
Loading…
Reference in a new issue