summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-05-01 05:10:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-05-01 05:10:48 -0700
commit56b399c523ee9066b09b056396c16315903ae559 (patch)
treec2a381b33723917ba771736bd6494f19a225de1c /configure
parent4336e3d9c22ef225cdc49877dca240b596e30248 (diff)
downloadtxr-56b399c523ee9066b09b056396c16315903ae559.tar.gz
txr-56b399c523ee9066b09b056396c16315903ae559.tar.bz2
txr-56b399c523ee9066b09b056396c16315903ae559.zip
configure: use -ansi, not -std=c90.
* configure: In maintainer mode, we specify C90. Some versions of clang don't like -std=c90, but only the -ansi option.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a3b47e6b..18f681d7 100755
--- a/configure
+++ b/configure
@@ -798,7 +798,7 @@ if [ $cplusplus ] ; then
else
printf "no\n"
if [ $maintainer ] ; then
- lang_flags="-std=c90 $lang_flags"
+ lang_flags="-ansi $lang_flags"
else
lang_flags="-std=c99 $lang_flags"
fi