summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-06-12 02:59:00 (GMT)
committerGitHub <noreply@github.com>2021-06-12 02:59:00 (GMT)
commit978b11c8a1f82c4a76713f49e08eb5d1bd0f54ed (patch)
tree5662d5ba330d6bb280a4e46752b54f1e32762daf /config/gnu-cxxflags
parent3c18cf7831facc924f0f88c55284d721c9999640 (diff)
downloadhdf5-978b11c8a1f82c4a76713f49e08eb5d1bd0f54ed.zip
hdf5-978b11c8a1f82c4a76713f49e08eb5d1bd0f54ed.tar.gz
hdf5-978b11c8a1f82c4a76713f49e08eb5d1bd0f54ed.tar.bz2
Fix problem in gnu-cxxflags; remove empty if block that throws away all (#748)
C++ flags.
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags5
1 files changed, 1 insertions, 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