aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-yaml/cmake.patch
blob: e3ecede0ab3a18d21bc1b4b884126d3bdb778903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -53,12 +53,6 @@
   endif(WIN32)
 endif(UNIX)
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fPIC -O2")
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -fPIC -O2")
-if (RELEASE)
-  add_definitions(-O2 -DNDEBUG)
-endif(RELEASE)
-
 # --------------------------------------------------------------
 #  yaml.core
 # --------------------------------------------------------------