From 3a2f5ed79f7d1fc6e9fe50b8928c0d748c28f579 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 22 Dec 2020 07:43:13 -0800 Subject: 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. --- configure | 1 + 1 file changed, 1 insertion(+) 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 ;; -- cgit v1.2.3