• hasufell's avatar
    CMake: respect system cflags · fcd36298
    hasufell authored
    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.
    fcd36298