From: Bastian Dehn Date: Fri, 12 Dec 2025 16:11:01 +0000 (+0100) Subject: change build release stripped binary X-Git-Tag: v1.1.23^2~8 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=5f06b309d7afb5ef9121eebc71dae49b543dfc50;p=sane-kds-s2000w-net.git change build release stripped binary --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1607d56..c137110 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(CMAKE_BUILD_TYPE Release CACHE STRING "build type [Debug|Release]") if(CMAKE_BUILD_TYPE STREQUAL Release) - set(CMAKE_C_FLAGS "-std=c99 -fPIC -Wall -Wextra -Wno-unused-parameter -Werror -pedantic" + set(CMAKE_C_FLAGS "-std=c99 -fPIC -s -Wall -Wextra -Wno-unused-parameter -Werror -pedantic" CACHE STRING "release compiler flags" FORCE) endif()