Skip to content

Commit 4d59acf

Browse files
committed
Binary size flag patch
1 parent 47d2737 commit 4d59acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ endif()
9898
# data into sections so they can be properly gc'd. -s: strip symbol.
9999
# -fno-exceptions -fno-rtti: disables exceptions and runtime type.
100100
set(CMAKE_CXX_FLAGS_RELEASE
101-
"-O2 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti")
101+
"-ffunction-sections -fdata-sections -fno-exceptions -fno-rtti")
102102
if(NOT APPLE)
103103
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s")
104104
endif()

0 commit comments

Comments
 (0)