From: Bastian Dehn Date: Sun, 24 May 2026 19:47:42 +0000 (+0200) Subject: add strip all binary X-Git-Tag: 1.3.23^2~4^2~6 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=ab2f4bfeb98585e64afdef0ea2a21804ef07c117;p=feierabend.git add strip all binary --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 021bfb3..40d4a09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,9 +5,9 @@ project(feierabend-c) set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "build type") if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") - set(CMAKE_C_FLAGS "-std=c99 -Wall -Wextra -pedantic -g -fsanitize=address") + set(CMAKE_C_FLAGS "-s -std=c99 -Wall -Wextra -pedantic -g -fsanitize=address") else() - set(CMAKE_C_FLAGS "-std=c99 -Werror -Wextra -pedantic") + set(CMAKE_C_FLAGS "-s -std=c99 -Werror -Wextra -pedantic") endif() message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")