diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:27:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-08 12:27:40 +0000 |
commit | 05050c247c61f7e7688122a370540fc28838b66a (patch) | |
tree | ad8d9b7bd7c2933dcfacd36e99e8c09f273b715b | |
parent | 40d64898c9d37142e808f1a9914d7455054c7cc2 (diff) | |
download | execline-05050c247c61f7e7688122a370540fc28838b66a.tar.gz execline-05050c247c61f7e7688122a370540fc28838b66a.tar.xz execline-05050c247c61f7e7688122a370540fc28838b66a.zip |
noexecstack only works at link stage
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure index fe97872..c38948a 100755 --- a/configure +++ b/configure @@ -349,7 +349,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 @@ -359,6 +358,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}" |