From 83335bda50de7c320a0b59d38b4c7b729553002f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 13 Jul 2010 18:06:17 +0000 Subject: [PATCH] GCC 4.5: Add `-L${libpthread}/lib' unconditionally on GNU. svn path=/nixpkgs/trunk/; revision=22585 --- pkgs/development/compilers/gcc-4.5/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc-4.5/default.nix b/pkgs/development/compilers/gcc-4.5/default.nix index d420582ede5..410f9514fed 100644 --- a/pkgs/development/compilers/gcc-4.5/default.nix +++ b/pkgs/development/compilers/gcc-4.5/default.nix @@ -171,7 +171,7 @@ stdenv.mkDerivation ({ echo "augmenting \`LIB_SPEC' in \`${config_h}' for libpthread at \`${pthreadLib}'..." sed -i "${config_h}" \ - -es'|-lpthread|-L${pthreadLib}/lib -lpthread|g' + -es'|LIB_SPEC *"\(.*\)$|LIB_SPEC "-L${pthreadLib}/lib \1|g' '' else null;