summaryrefslogtreecommitdiffstats
path: root/tests/run-ar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-ar.sh')
-rwxr-xr-xtests/run-ar.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-ar.sh b/tests/run-ar.sh
index 733d810d..3389035f 100755
--- a/tests/run-ar.sh
+++ b/tests/run-ar.sh
@@ -66,7 +66,7 @@ EOF
# Compile the source files.
for src in *.c; do
obj=$(echo "$src" | sed 's/\.c$/.o/')
- gcc -O0 -c "$src" -o "$obj"
+ gcc -O0 -fno-pic -fno-pie -fno-plt -c "$src" -o "$obj"
done
echo Create nested archives.