update core

This commit is contained in:
Logan McNaughton committed 2022-12-29 19:54:31 -07:00
1 parent e9b26dc458
commit adb772ace9
1 file changed
+9 -2
+9 -2
View File
@@ -131,8 +131,15 @@ endif ()
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 -Ofast)
target_link_options(mupen64plus PRIVATE -march=x86-64-v3 -Ofast)
target_compile_options(mupen64plus PRIVATE -Ofast)
target_link_options(mupen64plus PRIVATE -Ofast)
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
target_compile_options(mupen64plus PRIVATE -march=armv8-a)
target_link_options(mupen64plus PRIVATE -march=armv8-a)
else()
target_compile_options(mupen64plus PRIVATE -march=x86-64-v3)
target_link_options(mupen64plus PRIVATE -march=x86-64-v3)
endif()
if (NOT APPLE)
target_link_options(mupen64plus PRIVATE -Wl,-Bsymbolic -Wl,-Bsymbolic-functions)
endif (NOT APPLE)