summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-24 16:39:36 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-24 16:39:36 +0200
commit07f603f89ee2a3258f75964e3d7f004f8dcca972 (patch)
treeea47647c2a561b0a3249afacbf8cf7c2bae86f64 /pkgs/build-support
parentae18038c6d33d26548df6c05881570b0a790be49 (diff)
downloadnixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar.gz
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar.bz2
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar.lz
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar.xz
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.tar.zst
nixlib-07f603f89ee2a3258f75964e3d7f004f8dcca972.zip
libc++: Use the right libc++abi re-export list
Also, remove the explicit -lc++abi flag from clang-wrapper. It's not
needed because libc++ re-exports the necessary symbols from libc++abi.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/clang-wrapper/clang-wrapper.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/clang-wrapper/clang-wrapper.sh b/pkgs/build-support/clang-wrapper/clang-wrapper.sh
index 3c6a9c8e4529..bad257fd9b06 100644
--- a/pkgs/build-support/clang-wrapper/clang-wrapper.sh
+++ b/pkgs/build-support/clang-wrapper/clang-wrapper.sh
@@ -81,7 +81,7 @@ fi
 
 if test -n "@libcxx@"; then
     NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem@libcxx@/include/c++/v1 -stdlib=libc++"
-    NIX_CFLAGS_LINK="$NIX_CFLAGS_LINK -L@libcxx@/lib -stdlib=libc++ -L@libcxxabi@/lib -lc++abi"
+    NIX_CFLAGS_LINK="$NIX_CFLAGS_LINK -L@libcxx@/lib -stdlib=libc++ -L@libcxxabi@/lib"
 fi
 
 # Add the flags for the C compiler proper.