summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2016-06-05 23:20:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2016-06-05 23:20:48 (GMT)
commit60aebe36b64de110a2a73bc66726e77fba299711 (patch)
treeacdaa3051f84ec4657730ec62ec1b4b90aa6c044 /config/gnu-cxxflags
parent52ac99827b3bfa89f4fcf3539d58debeaa73bd36 (diff)
downloadhdf5-60aebe36b64de110a2a73bc66726e77fba299711.zip
hdf5-60aebe36b64de110a2a73bc66726e77fba299711.tar.gz
hdf5-60aebe36b64de110a2a73bc66726e77fba299711.tar.bz2
[svn-r30015] Description:
Update GNU compiler flags for 6.x release. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
Diffstat (limited to 'config/gnu-cxxflags')
-rw-r--r--config/gnu-cxxflags8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/gnu-cxxflags b/config/gnu-cxxflags
index f87ef8e..46fd048 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -105,7 +105,7 @@ case "$cxx_vendor-$cxx_version" in
g++-[34].*)
PROD_CXXFLAGS=
;;
- g++-5.*)
+ g++-[56].*)
PROD_CXXFLAGS="-fstdarg-opt"
;;
*)
@@ -117,7 +117,7 @@ case "$cxx_vendor-$cxx_version" in
# NDEBUG is handled explicitly by the configure script
# -g is hanled by the symbols flags
case "$cxx_vendor-$cxx_version" in
- g++-5.*)
+ g++-[56].*)
DEBUG_CXXFLAGS="-ftrapv -fno-common"
;;
*)
@@ -138,7 +138,7 @@ case "$cxx_vendor-$cxx_version" in
HIGH_OPT_CXXFLAGS="-O3"
DEBUG_OPT_CXXFLAGS=
;;
- g++-5.*)
+ g++-[56].*)
HIGH_OPT_CXXFLAGS="-O3"
DEBUG_OPT_CXXFLAGS="-Og"
;;
@@ -163,7 +163,7 @@ case "$cxx_vendor-$cxx_version" in
# Closer to the g++ 5.2 release, we should check for additional flags to
# include and break it out into it's own section, like the other versions
# below. -QAK
- g++-5*)
+ g++-[56]*)
# Append warning flags from gcc-3* case
H5_CXXFLAGS="$H5_CXXFLAGS -Wfloat-equal -Wmissing-format-attribute"