summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:41:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:41:17 (GMT)
commitc622e54bb22a29a4256710b076acaeef55ebf1fa (patch)
treeeaa21cc878b3a16b14da9199ddca4fcb1a170588 /config/gnu-cxxflags
parentfbd46d674faac0ab0ba50430ec567973f381a23e (diff)
downloadhdf5-c622e54bb22a29a4256710b076acaeef55ebf1fa.zip
hdf5-c622e54bb22a29a4256710b076acaeef55ebf1fa.tar.gz
hdf5-c622e54bb22a29a4256710b076acaeef55ebf1fa.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=