diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:33 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:33 +0000 |
commit | 8af27fc24148feab7847e0514519f691874f760d (patch) | |
tree | f5cad285b18c88793de35f7ff7f3c91bc0a819d9 | |
parent | 02ba4310747629ab0c552673d504855f746c584f (diff) | |
download | s6-networking-8af27fc24148feab7847e0514519f691874f760d.tar.xz |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,6 @@ tryflag CFLAGS -fomit-frame-pointer tryflag CFLAGS_AUTO -fno-exceptions tryflag CFLAGS_AUTO -fno-unwind-tables tryflag CFLAGS_AUTO -fno-asynchronous-unwind-tables -tryflag CFLAGS_AUTO -Wa,--noexecstack tryflag CPPFLAGS_AUTO -Werror=implicit-function-declaration tryflag CPPFLAGS_AUTO -Werror=implicit-int tryflag CPPFLAGS_AUTO -Werror=pointer-sign @@ -361,6 +360,7 @@ tryflag CFLAGS_AUTO -fdata-sections tryldflag LDFLAGS_AUTO -Wl,--sort-section=alignment tryldflag LDFLAGS_AUTO -Wl,--sort-common +tryldflag LDFLAGS_AUTO -Wl,-z,noexecstack CPPFLAGS_AUTO="${CPPFLAGS_AUTO}${addincpath}" |