GCC 4.7.2 + updated libraries compiles on Illumos/SmartOS!
- Add solaris native ld support to GCC build wrapper - Add solaris ld wrapper that fixes -L argument order
This commit is contained in:
committed by
Danny Wilson
parent
bcaea92a12
commit
15e865ac09
@@ -49,8 +49,8 @@ stdenv.mkDerivation (rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lmp -lmd -lnsl -lsocket -lresolv";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString selinuxSupport "-lsepol";
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString selinuxSupport "-lsepol" +
|
||||
stdenv.lib.optionalString stdenv.isSunOS "-lmp -lmd -lnsl -lsocket -lresolv -luutil -lnvpair -lidmap -lavl -lsec";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnu.org/software/coreutils/;
|
||||
|
||||
Reference in New Issue
Block a user