summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure b/configure
index 4739ccd4..71611dcd 100755
--- a/configure
+++ b/configure
@@ -1193,11 +1193,9 @@ else
done
fi
-printf "Checking how to disable PIE ..."
-if [ $android_target ] ; then
- printf " n/a (Android)\n"
-else
+if ! [ $android_target ] && ! [ $darwin_target ] ; then
+ printf "Checking how to disable PIE ..."
nopie_flags=
for flag in -nopie -no-pie ; do