diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:27 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:34:27 +0000 |
commit | 9f01d13dfa7ba8a6eb6d9438002d0ba001dc5dee (patch) | |
tree | 679e4f42919ee008e1fb38d65f9e85689f7b292d | |
parent | d62aec3ffabf77655c6bd028cf45213e034522fb (diff) | |
download | s6-dns-9f01d13dfa7ba8a6eb6d9438002d0ba001dc5dee.tar.xz |
noexecstack only works in LDFLAGS
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,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 @@ -343,6 +342,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}" |