Skip to content

Commit

Permalink
Remove -Oz
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyesiqiu committed Jan 1, 2025
1 parent 50eea74 commit 92ed401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
add_definitions(-DDEBUG)
message(WARNING "!!!WARNNING:opened log!!!")
else()
set(OPTIMIZATION_LEVEL "-Oz")
set(OPTIMIZATION_LEVEL "")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden ${OPTIMIZATION_LEVEL}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden ${OPTIMIZATION_LEVEL}")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--exclude-libs,ALL")
Expand Down

0 comments on commit 92ed401

Please sign in to comment.