summaryrefslogtreecommitdiffstats
path: root/config/gnu-cxxflags
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-12-21 18:57:18 (GMT)
committerGitHub <noreply@github.com>2020-12-21 18:57:18 (GMT)
commit71440cef1c4cf4757fe53906b663b286fc537ede (patch)
treeb98646c4ab38431bccb5240535e3fafe921917bb /config/gnu-cxxflags
parent0483817a9250d90afc685864db640367558a1e3d (diff)
downloadhdf5-71440cef1c4cf4757fe53906b663b286fc537ede.zip
hdf5-71440cef1c4cf4757fe53906b663b286fc537ede.tar.gz
hdf5-71440cef1c4cf4757fe53906b663b286fc537ede.tar.bz2
Add compiler flags for GCC 10, along with updating warnhist script to accommodate them. (#217)
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 eb490b3..0b48bdf 100644
--- a/config/gnu-cxxflags
+++ b/config/gnu-cxxflags
@@ -186,9 +186,9 @@ if test "X-g++" = "X-$cxx_vendor"; then
H5_ECXXFLAGS="$H5_ECXXFLAGS $(load_gnu_arguments cxx-error-general)"
H5_NECXXFLAGS="$H5_NECXXFLAGS $(load_gnu_arguments cxx-noerror-general)"
- ######################
- # Developer warnings #
- ######################
+ ######################
+ # Developer warnings #
+ ######################
NO_DEVELOPER_WARNING_CXXFLAGS=$(load_gnu_arguments no-developer-general)
DEVELOPER_WARNING_CXXFLAGS=$(load_gnu_arguments developer-general)
@@ -210,7 +210,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
# gcc >= 4.8
if test $cxx_vers_major -ge 5 -o $cxx_vers_major -eq 4 -a $cxx_vers_minor -ge 8; then
- H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments 4.8)"
+ H5_CXXFLAGS="$H5_CXXFLAGS $(load_gnu_arguments cxx-4.8)"
DEVELOPER_WARNING_CXXFLAGS="$DEVELOPER_WARNING_CXXFLAGS $(load_gnu_arguments developer-4.8)"
NO_DEVELOPER_WARNING_CXXFLAGS="$NO_DEVELOPER_WARNING_CXXFLAGS $(load_gnu_arguments no-developer-4.8)"
fi