summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--test/ragel.d/gentests.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 99269817..c9275157 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,7 +360,7 @@ main:
EOF
echo -n "checking if ragel ASM tests will build ... "
-if sh -c "$ASM_BIN -o conftest.bin conftest.s" >>config.log 2>&1; then
+if sh -c "$ASM_BIN -no-pie -o conftest.bin conftest.s" >>config.log 2>&1; then
echo "yes"
else
echo "no"
diff --git a/test/ragel.d/gentests.sh b/test/ragel.d/gentests.sh
index ac3eef2a..be7822a4 100644
--- a/test/ragel.d/gentests.sh
+++ b/test/ragel.d/gentests.sh
@@ -263,7 +263,7 @@ function lang_opts()
interpreted=false
compiler="$assembler"
host_ragel=$RAGEL_ASM_BIN
- flags=""
+ flags="-no-pie"
libs=""
prohibit_flags="-T0 -T1 -F0 -F1 -W0 -W1 -G0 -G1 --string-tables"
;;