From 963d549eed571bb57fba05593e8a1ea91050c23c Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 29 Oct 2024 12:32:21 +0300 Subject: [PATCH] CMakeLists.txt: only put -s for gcc --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 507ea28..0e8e74b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -165,7 +165,7 @@ function(give_options_without_warnings target) -ffunction-sections -funroll-loops -fomit-frame-pointer - -s) + $<$:-s>) set(BUILD_FLAGS_DEBUG -O0