mirror of https://github.com/openSUSE/libsolv.git
Go back to -O2 for relwithdebuginfo
This removes about 11% of code size with neglegible performance impact (tested via testsolv on a tumbleweed upgrade gives equal performance)
This commit is contained in:
parent
66c5b02c4b
commit
39f8506e83
|
@ -399,7 +399,7 @@ IF (MSVC)
|
||||||
ELSE ()
|
ELSE ()
|
||||||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
||||||
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O3")
|
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS} -O3")
|
||||||
set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS} -g -O3")
|
set (CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS} -g -O2")
|
||||||
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g3 -O0")
|
set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -g3 -O0")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue