From b9bbf217ed61ead58e1dc48b558fcbf5ebbb9412 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Wed, 5 Oct 2022 21:11:35 -0600 Subject: [PATCH] update core --- mupen64plus-core/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mupen64plus-core/CMakeLists.txt b/mupen64plus-core/CMakeLists.txt index cababdd..ef006d2 100644 --- a/mupen64plus-core/CMakeLists.txt +++ b/mupen64plus-core/CMakeLists.txt @@ -127,7 +127,7 @@ endif (UNIX) set_property(TARGET mupen64plus PROPERTY C_VISIBILITY_PRESET hidden) set_property(TARGET mupen64plus PROPERTY CXX_VISIBILITY_PRESET hidden) set_property(TARGET mupen64plus PROPERTY VISIBILITY_INLINES_HIDDEN ON) -target_compile_options(mupen64plus PRIVATE -march=x86-64-v3) -target_link_options(mupen64plus PRIVATE -march=x86-64-v3) +target_compile_options(mupen64plus PRIVATE -march=x86-64-v3 -fno-semantic-interposition) +target_link_options(mupen64plus PRIVATE -march=x86-64-v3 -fno-semantic-interposition -Wl,-Bsymbolic -Wl,-Bsymbolic-functions) target_link_directories(mupen64plus PRIVATE ${SDL_NET_LIBRARY_DIRS}) target_link_libraries(mupen64plus PRIVATE SDL2::SDL2 ${SDL_NET_LIBRARIES} ZLIB::ZLIB PNG::PNG)