Fix problem in gnu-cxxflags; remove empty if block that throws away all (#748)

C++ flags.
This commit is contained in:
Larry Knox 2021-06-11 21:59:00 -05:00 committed by GitHub
parent 3c18cf7831
commit 978b11c8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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