diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-07-15 14:06:09 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-07-15 14:06:09 +0000 |
commit | d88cd100c994deabd9e56cb8245be527dc204075 (patch) | |
tree | e4d73f8b132e009de9cc722b097b27fea5e1f0a3 /pkgs/os-specific/gnu | |
parent | 5a028270aaac3df48b7cda3494dd62814878a08f (diff) | |
download | nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar.gz nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar.bz2 nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar.lz nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar.xz nixlib-d88cd100c994deabd9e56cb8245be527dc204075.tar.zst nixlib-d88cd100c994deabd9e56cb8245be527dc204075.zip |
GCC 4.5: Fix libpthread-related `LIB_SPEC' on GNU.
svn path=/nixpkgs/trunk/; revision=22610
Diffstat (limited to 'pkgs/os-specific/gnu')
-rw-r--r-- | pkgs/os-specific/gnu/libpthread/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/os-specific/gnu/libpthread/default.nix b/pkgs/os-specific/gnu/libpthread/default.nix index 87ad5f2b631d..6f978b0c76de 100644 --- a/pkgs/os-specific/gnu/libpthread/default.nix +++ b/pkgs/os-specific/gnu/libpthread/default.nix @@ -56,10 +56,12 @@ stdenv.mkDerivation ({ passthru = { # Extra target LDFLAGS to allow the cross-linker to find the # dependencies of the cross libpthread.so, namely libihash.so. + # Note: these are raw `ld' flags, so `-Wl,' must be prepended when using + # `gcc'. # # This is actually only useful while building the final cross-gcc, since # afterwards gcc-cross-wrapper should add the relevant flags. - TARGET_LDFLAGS = "-Wl,-rpath-link=${hurd}/lib"; + TARGET_LDFLAGS = "-rpath-link=${hurd}/lib"; }; } else { })) |