commit | fcd362989ccc321d67c4a405ec21c64bb17133f4 | [log] [download] |
---|---|---|
author | hasufell <hasufell@hasufell.de> | Thu Mar 06 15:45:00 2014 +0100 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 13 19:25:06 2014 +0100 |
tree | cf9c1eacb75f21ac55ed6fcc08fa0ccb6ff89634 | |
parent | 7349142ce7e9402254eeac9f9e2d386184e23aa1 [diff] |
CMake: respect system cflags Adding optimization level to CMAKE_C_FLAGS is intrusive and problematic with policies of various distribution. However, setting "-O2" in CMAKE_CFLAGS_RELEASE is fine and only affects release build.