mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-07 17:08:02 +08:00
Removed explicit optimization for debug builds.
This commit is contained in:
parent
0d4b4e62ca
commit
841729d2ec
@ -172,9 +172,7 @@ IF(CMAKE_COMPILER_IS_GNUCC OR APPLE)
|
||||
MESSAGE(STATUS "Coverage Tests: On.")
|
||||
ENDIF()
|
||||
|
||||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O2")
|
||||
|
||||
# Warnings for 64-to-32 bit conversions.
|
||||
# Warnings for 64-to-32 bit conversions.
|
||||
IF(ENABLE_CONVERSION_WARNINGS)
|
||||
CHECK_C_COMPILER_FLAG(-Wconversion CC_HAS_WCONVERSION)
|
||||
CHECK_C_COMPILER_FLAG(-Wshorten-64-to-32 CC_HAS_SHORTEN_64_32)
|
||||
|
Loading…
Reference in New Issue
Block a user