diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-11-25 18:53:45 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:17:26 (GMT) |
commit | 5069cbf96fcd4d7b7180d38a9f4931aa7f09bba5 (patch) | |
tree | e4d6293c664a53d6ace749ac8c3cdf3ff02b2065 /config/cmake | |
parent | ba7db398e0b236302a3d8720425c67a344798cf2 (diff) | |
download | hdf5-5069cbf96fcd4d7b7180d38a9f4931aa7f09bba5.zip hdf5-5069cbf96fcd4d7b7180d38a9f4931aa7f09bba5.tar.gz hdf5-5069cbf96fcd4d7b7180d38a9f4931aa7f09bba5.tar.bz2 |
Remove unneeded flag overwrites
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/scripts/HDF5config.cmake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake index 775fb37..6096860 100644 --- a/config/cmake/scripts/HDF5config.cmake +++ b/config/cmake/scripts/HDF5config.cmake @@ -180,14 +180,6 @@ if (NOT DEFINED HPC) set (ENV{CC} "${XCODE_CC}") set (ENV{CXX} "${XCODE_CXX}") set (CTEST_USE_LAUNCHERS 1) - set (RR_WARNINGS_COMMON "-Wno-format-nonliteral -Wno-cast-align -Wno-unused -Wno-unused-variable -Wno-unused-function -Wno-self-assign -Wno-unused-parameter -Wno-sign-compare") - set (RR_WARNINGS_C "${RR_WARNINGS_COMMON} -Wno-deprecated-declarations -Wno-uninitialized") - set (RR_WARNINGS_CXX "${RR_WARNINGS_COMMON} -Woverloaded-virtual -Wshadow -Wwrite-strings -Wc++11-compat") - set (RR_FLAGS_COMMON "-g -O0 -fstack-protector-all -D_FORTIFY_SOURCE=2") - set (RR_FLAGS_C "${RR_FLAGS_COMMON}") - set (RR_FLAGS_CXX "${RR_FLAGS_COMMON}") - set (ENV{CFLAGS} "${RR_WARNINGS_C} ${RR_FLAGS_C}") - set (ENV{CXXFLAGS} "${RR_WARNINGS_CXX} ${RR_FLAGS_CXX}") endif () endif () else () |