From 978b11c8a1f82c4a76713f49e08eb5d1bd0f54ed Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Fri, 11 Jun 2021 21:59:00 -0500 Subject: Fix problem in gnu-cxxflags; remove empty if block that throws away all (#748) C++ flags. --- config/gnu-cxxflags | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags index 63cd952..f63c1dc 100644 --- a/config/gnu-cxxflags +++ b/config/gnu-cxxflags @@ -268,10 +268,7 @@ if test "X-g++" = "X-$cxx_vendor"; then fi # gcc >= 9.3 - if test $cc_vers_major -ge 10 -o $cc_vers_major -eq 9 -a $cc_vers_minor -ge 3; then - # do not use C warnings, $(load_gnu_arguments 9.3), no cxx warnings - # H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments cxx-9.3)" - fi + # no cxx warnings, do NOT use C warnings # gcc >= 10 if test $cc_vers_major -ge 10; then -- cgit v0.12