diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-24 07:47:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-24 07:47:19 -0700 |
commit | 61aa1bb5e41d26b4aece36aa7059d09f314e5b3e (patch) | |
tree | 7ee45bccccac926d8ac8b59ec77af30efbc69235 | |
parent | 8f17af703bbc75155cdfd0c06c11c898cf309c1e (diff) | |
download | txr-61aa1bb5e41d26b4aece36aa7059d09f314e5b3e.tar.gz txr-61aa1bb5e41d26b4aece36aa7059d09f314e5b3e.tar.bz2 txr-61aa1bb5e41d26b4aece36aa7059d09f314e5b3e.zip |
M1: disable -nopie.
* configure: Don't try to use -nopie in Darwin environments.
With newer clang on the M1, it generates nuisance warnings.
-rwxr-xr-x | configure | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |