Commit fcd36298 authored by Committed by Manuel Pégourié-GonnardBrowse files
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.
Showing with 4 additions and 2 deletions