CMakeLists.txt: only put -s for gcc
This commit is contained in:
parent
9121da0675
commit
963d549eed
@ -165,7 +165,7 @@ function(give_options_without_warnings target)
|
||||
-ffunction-sections
|
||||
-funroll-loops
|
||||
-fomit-frame-pointer
|
||||
-s)
|
||||
$<$<STREQUAL:${CMAKE_C_COMPILER_ID},Gnu>:-s>)
|
||||
|
||||
set(BUILD_FLAGS_DEBUG
|
||||
-O0
|
||||
|
Loading…
Reference in New Issue
Block a user