changeset 266:91fd7be165f1

- also testing no flags at all, for asflags rw- detection
author Tassilo Philipp
date Thu, 25 May 2017 02:13:32 +0200
parents 050e60ed28c4
children f8fe0f87b7c1
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu May 25 01:19:00 2017 +0200
+++ b/configure	Thu May 25 02:13:32 2017 +0200
@@ -221,7 +221,7 @@
   # Check var to be used, which depends on inference rules of this platform. E.g. ASFLAGS is only common on GNU, and
   # on some other platforms only CFLAGS is the only one used, others use AFLAGS with cc and thus need -Wa,... Check
   # makes use of the config written so far, so use '+=' to not overwrite vars.
-  for f in "ASFLAGS+=-Wa,--noexecstack" "ACFLAGS+=-Wa,--noexecstack" "AFLAGS+=--noexecstack" "AFLAGS+=-Wa,--noexecstack" "CFLAGS+=-Wa,--noexecstack"; do
+  for f in "" "ASFLAGS+=-Wa,--noexecstack" "ACFLAGS+=-Wa,--noexecstack" "AFLAGS+=--noexecstack" "AFLAGS+=-Wa,--noexecstack" "CFLAGS+=-Wa,--noexecstack"; do
     # dummy makefile triggering inference rules, reflecting dyncall's build
     make -f - <<MAKEFILE
 include $C