|
@@ -384,7 +384,7 @@ if(NOT UA_COMPILE_AS_CXX AND (CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID
|
|
|
# Strip release builds
|
|
|
if(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel" OR CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
|
add_definitions(-ffunction-sections -fdata-sections -fno-stack-protector -fno-unwind-tables
|
|
|
- -fno-asynchronous-unwind-tables -fno-math-errno -fmerge-all-constants -fno-ident)
|
|
|
+ -fno-asynchronous-unwind-tables -fno-math-errno -fno-ident)
|
|
|
if(NOT OS9)
|
|
|
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -s")
|
|
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -s")
|