diff options
author | Robin Gloster | 2016-08-29 01:58:16 +0000 |
---|---|---|
committer | Robin Gloster | 2016-08-29 01:58:16 +0000 |
commit | 56158004b5b01c77fa12dae03a15aa7b3a9f979a (patch) | |
tree | 61b836eebb28ba76927a634fea08cb60d0acee5c | |
parent | f81b2da3d4f0ece6fc33d8d2ec0eda87437202df (diff) |
lprof: add hardeningDisable to environment during build
-rw-r--r-- | pkgs/tools/graphics/lprof/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/lprof/default.nix b/pkgs/tools/graphics/lprof/default.nix index 7f6a15da33d3..cbce8bb61f7c 100644 --- a/pkgs/tools/graphics/lprof/default.nix +++ b/pkgs/tools/graphics/lprof/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation { -e "s/not config.CheckHeader('tiff.h')/False/" \ -e "s/not config.CheckCXXHeader('vigra\/impex.hxx')/False/" \ \ + -e "s/^\( 'LDFLAGS'.*\)/\1\n,'hardeningDisable' : os.environ['hardeningDisable']/" \ -e "s/^\( 'LDFLAGS'.*\)/\1\n,'NIX_CFLAGS_COMPILE' : os.environ['NIX_CFLAGS_COMPILE']/" \ -e "s/^\( 'LDFLAGS'.*\)/\1\n,'NIX_LDFLAGS' : os.environ['NIX_LDFLAGS']/" |