* -lgcc_s is also needed on i686-linux.
svn path=/nixpkgs/trunk/; revision=17754
This commit is contained in:
parent
331d7185f2
commit
c6efc69ad2
@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
NIX_CFLAGS_CXXFLAGS = if stdenv.system == "x86_64-linux" then "-fPIC" else "";
|
||||||
|
|
||||||
NIX_LDFLAGS = if stdenv.system == "x86_64-linux" then "-lgcc_s" else "";
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||||
|
|
||||||
postInstall =
|
postInstall =
|
||||||
''
|
''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user