Merge pull request #29554 from veprbl/patch-1

coreutils: remove conflicting _FORTIFY_SOURCE definition
This commit is contained in:
Eelco Dolstra 2017-09-19 11:50:29 +02:00 committed by GitHub
commit 52d1f68005

View File

@ -76,8 +76,6 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = optionalString selinuxSupport "-lsepol";
FORCE_UNSAFE_CONFIGURE = optionalString hostPlatform.isSunOS "1";
makeFlags = optionalString hostPlatform.isDarwin "CFLAGS=-D_FORTIFY_SOURCE=0";
# Works around a bug with 8.26:
# Makefile:3440: *** Recursive variable 'INSTALL' references itself (eventually). Stop.
preInstall = optionalString (hostPlatform != buildPlatform) ''