Skip to content
Snippets Groups Projects
Commit 5624dac3 authored by Perttu Ahola's avatar Perttu Ahola
Browse files

added -Wno-unused-but-set-variable, which hides a new warning in gcc 4.6 which...

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.
parent bc59c185
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment