summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-22 21:09:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-22 21:09:54 -0700
commita5e7ba18b38ce34f02ac94d3de4339f2ea728010 (patch)
tree046f285a129b29e740aa4a08e45e311c5e55c832 /configure
parent059a54c5aa3593a948c8db02b37ac0b1c68c268b (diff)
downloadtxr-a5e7ba18b38ce34f02ac94d3de4339f2ea728010.tar.gz
txr-a5e7ba18b38ce34f02ac94d3de4339f2ea728010.tar.bz2
txr-a5e7ba18b38ce34f02ac94d3de4339f2ea728010.zip
configure: clang banner moving target.
* configure: nopie test must check for "clang" in two places in the version banner. Some vendors stick their name in front of "clang".
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 75872b7d..22331dc6 100755
--- a/configure
+++ b/configure
@@ -1025,7 +1025,7 @@ if [ "$1" = "gcc" ] ; then
broken128=y
fi
[ $1 -lt 5 ] && do_nopie=
-elif [ "$2" = "clang" ] ; then
+elif [ "$1" = "clang" -o "$2" = "clang" ] ; then
do_nopie=
fi