diff options
author | Robin Gloster <mail@glob.in> | 2016-08-29 01:58:16 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-08-29 01:58:16 +0000 |
commit | 56158004b5b01c77fa12dae03a15aa7b3a9f979a (patch) | |
tree | 61b836eebb28ba76927a634fea08cb60d0acee5c /pkgs/tools | |
parent | f81b2da3d4f0ece6fc33d8d2ec0eda87437202df (diff) | |
download | nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar.gz nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar.bz2 nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar.lz nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar.xz nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.tar.zst nixlib-56158004b5b01c77fa12dae03a15aa7b3a9f979a.zip |
lprof: add hardeningDisable to environment during build
Diffstat (limited to 'pkgs/tools')
-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']/" |