2019-04-01 23:35:53 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -59,7 +59,7 @@ ELSE (WIN32)
|
2011-08-12 11:11:28 +00:00
|
|
|
"${CMAKE_C_FLAGS} -std=c99 -pedantic -Wpointer-arith -Wno-format-y2k -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wextra -Wundef -Wwrite-strings -Wold-style-definition -Wredundant-decls -Wno-unused-parameter -Wno-sign-compare -Wmissing-prototypes")
|
2011-01-16 03:43:02 +00:00
|
|
|
|
|
|
|
SET(CMAKE_C_FLAGS_DEBUG "-DDEBUG -g")
|
|
|
|
- SET(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O2 -Wuninitialized")
|
|
|
|
+ SET(CMAKE_C_FLAGS_RELEASE "$ENV{OPTFLAGS} -Wuninitialized")
|
2014-11-05 11:10:59 +00:00
|
|
|
ENDIF (WIN32)
|
2011-01-16 03:43:02 +00:00
|
|
|
|
|
|
|
|