]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change build release stripped binary
authorBastian Dehn <hhaalo@arcor.de>
Fri, 12 Dec 2025 16:11:01 +0000 (17:11 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 12 Dec 2025 16:12:26 +0000 (17:12 +0100)
CMakeLists.txt

index 1607d5652c0315a7a408423c9b634c97456562ee..c1371102acae7601f0f006e888be7c7656a116ba 100644 (file)
@@ -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()