Skip to content

Commit

Permalink
Merge pull request #181485 from Itaros/normal-clang-llvm-redirection
Browse files Browse the repository at this point in the history
cc-wrapper: broaden explicit libc++abi linking for LLVM stdenv
  • Loading branch information
toonn authored Jul 22, 2022
2 parents dec2508 + b060076 commit 946c3d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgs/build-support/cc-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'')

Expand Down

0 comments on commit 946c3d8

Please sign in to comment.