projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc59c18
)
added -Wno-unused-but-set-variable, which hides a new warning in gcc 4.6 which only...
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 16 May 2011 17:40:19 +0000
(20:40 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 16 May 2011 17:40:19 +0000
(20:40 +0300)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 42260b3ae439d3fc402e4471eef2be3eadf7898e..74396cee98f4bcd6b0843ff31d4d36923af9aa01 100644
(file)
--- a/
src/CMakeLists.txt
+++ b/
src/CMakeLists.txt
@@
-171,6
+171,8
@@
else()
set(WARNING_FLAGS "")
endif()
+ set(WARNING_FLAGS "${WARNING_FLAGS} -Wno-unused-but-set-variable")
+
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${WARNING_FLAGS} -O3 -ffast-math -Wall -fomit-frame-pointer -pipe -funroll-loops")
set(CMAKE_CXX_FLAGS_DEBUG "-g -O1 -Wall")