remove local pic flags, now set by hardened stdenv

This commit is contained in:
Robin Gloster
2016-01-28 01:46:59 +00:00
parent 8329066d5e
commit acb408646e
15 changed files with 3 additions and 32 deletions

View File

@@ -31,8 +31,7 @@ stdenv.mkDerivation (rec {
# As zlib takes part in the stdenv building, we don't want references
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc "
+ stdenv.lib.optionalString (stdenv.isFreeBSD) "-fPIC";
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";
crossAttrs = {
dontStrip = static;