libgcrypt: force noexecstack

This commit is contained in:
Lucas Ransan 2020-12-26 11:27:37 +01:00 committed by Frederik Rietdijk
parent 6274a5bbb3
commit 97a279c71d

View File

@ -34,6 +34,11 @@ stdenv.mkDerivation rec {
# aarch64
configurePlatforms = [ "host" "build" ];
postConfigure = ''
sed -i configure \
-e 's/NOEXECSTACK_FLAGS=$/NOEXECSTACK_FLAGS="-Wa,--noexecstack"/'
'';
# Make sure libraries are correct for .pc and .la files
# Also make sure includes are fixed for callers who don't use libgpgcrypt-config
postFixup = ''