summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-12-22 07:43:13 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-12-22 07:43:13 -0800
commit806f1cbfee655871344f8fa4a0cf8a4336e49e1e (patch)
treee1530ac5ec9bb1e0f9e48a169f18e2c3abdd1d59 /configure
parentfc02d9541c6b1277dba17af6c2f828aa7a93169b (diff)
downloadtxr-806f1cbfee655871344f8fa4a0cf8a4336e49e1e.tar.gz
txr-806f1cbfee655871344f8fa4a0cf8a4336e49e1e.tar.bz2
txr-806f1cbfee655871344f8fa4a0cf8a4336e49e1e.zip
configure: C++ fix for recently added C flags.
* configure: When we detect we are using C++, we filter out certain C-only compiler options. TO that list, we must add a pattern that gets rid of the recently added -Wold-style-definitions and -Wold-style-declarations.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 13e2521a..c801a86c 100755
--- a/configure
+++ b/configure
@@ -771,6 +771,7 @@ if [ $cplusplus ] ; then
case $flag in
*=implicit-function-declaration | \
*=missing-prototypes | \
+ *=old-style-* | \
*=strict-prototypes )
continue
;;