diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-12-22 07:43:13 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-12-22 07:43:13 -0800 |
commit | 806f1cbfee655871344f8fa4a0cf8a4336e49e1e (patch) | |
tree | e1530ac5ec9bb1e0f9e48a169f18e2c3abdd1d59 /configure | |
parent | fc02d9541c6b1277dba17af6c2f828aa7a93169b (diff) | |
download | txr-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-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -771,6 +771,7 @@ if [ $cplusplus ] ; then case $flag in *=implicit-function-declaration | \ *=missing-prototypes | \ + *=old-style-* | \ *=strict-prototypes ) continue ;; |