libgcrypt: force noexecstack

authored by Lucas Ransan and committed by Frederik Rietdijk 97a279c7 6274a5bb

+5
+5
pkgs/development/libraries/libgcrypt/default.nix
··· 34 34 # aarch64 35 35 configurePlatforms = [ "host" "build" ]; 36 36 37 + postConfigure = '' 38 + sed -i configure \ 39 + -e 's/NOEXECSTACK_FLAGS=$/NOEXECSTACK_FLAGS="-Wa,--noexecstack"/' 40 + ''; 41 + 37 42 # Make sure libraries are correct for .pc and .la files 38 43 # Also make sure includes are fixed for callers who don't use libgpgcrypt-config 39 44 postFixup = ''