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 | a95c0b7b451895022796d9adc3e18781a632697e (patch) | |
tree | 7ee45bccccac926d8ac8b59ec77af30efbc69235 /configure | |
parent | 500155609621d8021d73291d2369b28919386a69 (diff) | |
download | txr-a95c0b7b451895022796d9adc3e18781a632697e.tar.gz txr-a95c0b7b451895022796d9adc3e18781a632697e.tar.bz2 txr-a95c0b7b451895022796d9adc3e18781a632697e.zip |
M1: disable -nopie.
* configure: Don't try to use -nopie in Darwin environments.
With newer clang on the M1, it generates nuisance warnings.
Diffstat (limited to 'configure')
-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 |