CMakeLists.txt: only put -s for gcc

This commit is contained in:
veclavtalica 2024-10-29 12:32:21 +03:00
parent 9121da0675
commit 963d549eed

View File

@ -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