forked from Mirrorlandia_minetest/minetest
added -Wno-unused-but-set-variable, which hides a new warning in gcc 4.6 which only slows down development with no effect on security or anything.
This commit is contained in:
parent
bc59c18503
commit
5624dac3b7
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user