Skip to content

Commit

Permalink
yet another attempt at fixing multiple definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
MyTDT-Mysoft authored Sep 14, 2022
1 parent 79c1086 commit c3896be
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 @@ -79,7 +79,7 @@ set(CMAKE_C_FLAGS_RELEASE "-O3 -fcommon")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -fcommon")

if (NOT APPLE)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -s")
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -s -Wl,--allow-multiple-definition")
endif()

if (WIN32)
Expand Down

0 comments on commit c3896be

Please sign in to comment.