* -lgcc_s is also needed on i686-linux.
svn path=/nixpkgs/trunk/; revision=17754
This commit is contained in:
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
|
||||
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 =
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user