]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
add strip all binary
authorBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:47:42 +0000 (21:47 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 24 May 2026 19:47:42 +0000 (21:47 +0200)
CMakeLists.txt

index 021bfb3121cd0f1dbcbf09be31bd3ba6fdf7f3d7..40d4a09c2622f6c340b4ce143c815c7aced4e869 100644 (file)
@@ -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}")