mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
* -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_LDFLAGS = if stdenv.system == "x86_64-linux" then "-lgcc_s" else "";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
postInstall =
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue