From: Bastian Dehn Date: Mon, 25 May 2026 07:59:32 +0000 (+0200) Subject: add strip binary X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=d0009916716e7426269cdb2d2e3c74e615c89228;p=mv-none-space.git add strip binary --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b34a53a..0707209 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,9 +3,9 @@ cmake_minimum_required(VERSION 3.25.1) project(mv_none_space VERSION 1.1.10) if("${CMAKE_BUILD_TYPE}" STREQUAL "Release") - set(CMAKE_C_FLAGS "-std=c99 -Werror -Wextra -pedantic") + set(CMAKE_C_FLAGS "-s -std=c99 -Werror -Wextra -pedantic") else() - set(CMAKE_C_FLAGS "-std=c99 -g -Wall -Wextra -pedantic -fsanitize=address") + set(CMAKE_C_FLAGS "-s -std=c99 -g -Wall -Wextra -pedantic -fsanitize=address") endif() message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") message(STATUS "CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")