mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
lprof: add hardeningDisable to environment during build
This commit is contained in:
parent
f81b2da3d4
commit
56158004b5
@ -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']/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user