Skip to content

Commit

Permalink
cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Abc Dr committed Jul 31, 2023
1 parent 7284cd4 commit f1c34f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ set(CMAKE_CXX_FLAGS "-m32")
set(CMAKE_CXX_FLAGS_DEBUG "-m32")
set(CMAKE_CXX_FLAGS_RELEASE "-m32 -Os -ffunction-sections")

set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "-s -Wl --gc-sections")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "-s -Wl,--as-needed")

################################################################################
# Global linker options
Expand Down

0 comments on commit f1c34f2

Please sign in to comment.