summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:43:10 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:43:10 (GMT)
commitaac7605be02aa7be10e7681c1f7af03b11e7ddc2 (patch)
treebefa5b0e76bfb6c3c73e752523d2a2e6e7ffd715 /config/gnu-cxxflags
parent142496ad74187290c2b5ab273ec2ebfdfeaa68b5 (diff)
downloadhdf5-aac7605be02aa7be10e7681c1f7af03b11e7ddc2.zip
hdf5-aac7605be02aa7be10e7681c1f7af03b11e7ddc2.tar.gz
hdf5-aac7605be02aa7be10e7681c1f7af03b11e7ddc2.tar.bz2
TRILAB-192 - cleanup edits and match CMake CXX to autotools
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags7
1 files changed, 1 insertions, 6 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index 75ba7c9..e177aef 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -266,6 +266,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
# gcc >= 4.9
if test $cc_vers_major -ge 5 -o $cc_vers_major -eq 4 -a $cc_vers_minor -ge 9; then
H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments 4.9)"
+ H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments cxx-4.9)"
fi
# gcc >= 5
@@ -304,12 +305,6 @@ if test "X-g++" = "X-$cxx_vendor"; then
cxx_flags_set=yes
fi
-# Version-specific g++ flags
-
-# This flag was left behind when moving warnings flags to common files for # both autotools and CMake.
-# # Append more extra warning flags that only gcc 4.9+ know about
-# -Wopenmp-simd"
-
# Clear cxx info if no flags set
if test "X$cxx_flags_set" = "X"; then
cxx_vendor=