summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:16:57 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-04-13 13:16:57 (GMT)
commite68848f397eb66ffbec86ab59b7754c48281e0b3 (patch)
treef1817a362c955b5b99b4d609ab46350b65cc3a9c /config/gnu-cxxflags
parentf1893e940426dce5885c2d04932af24921cf4f4a (diff)
downloadhdf5-e68848f397eb66ffbec86ab59b7754c48281e0b3.zip
hdf5-e68848f397eb66ffbec86ab59b7754c48281e0b3.tar.gz
hdf5-e68848f397eb66ffbec86ab59b7754c48281e0b3.tar.bz2
TRILAB-192 - cleanup edits and match CMake CXX to autotools
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index 03231d2..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,13 +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=