commit | 69ebf327254805352d02683edbce43c9be25718a | [log] [tgz] |
---|---|---|
author | hasufell <hasufell@hasufell.de> | Thu Mar 06 15:45:00 2014 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 08 11:06:41 2014 +0200 |
tree | 558609a5f07bd8f754fafc3b5dff2382d43a32b7 | |
parent | e63560470ef8c2e215ad3bca29849198131b2e1f [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.