diff --git a/CMakeLists.txt b/CMakeLists.txt index 141f3764..9032d762 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,11 @@ endif() set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") +# Target Sandy Bridge for all projects +add_compile_options( + -march=sandybridge +) + add_subdirectory(${UNLEASHED_RECOMP_THIRDPARTY_ROOT}) add_subdirectory(${UNLEASHED_RECOMP_TOOLS_ROOT}) diff --git a/UnleashedRecomp/CMakeLists.txt b/UnleashedRecomp/CMakeLists.txt index 011244b8..2eed3598 100644 --- a/UnleashedRecomp/CMakeLists.txt +++ b/UnleashedRecomp/CMakeLists.txt @@ -39,9 +39,7 @@ function(BIN2C) endfunction() add_compile_options( - -march=sandybridge -fno-strict-aliasing - -Wno-switch -Wno-unused-function -Wno-unused-variable diff --git a/UnleashedRecompLib/CMakeLists.txt b/UnleashedRecompLib/CMakeLists.txt index 6b92a236..ac774930 100644 --- a/UnleashedRecompLib/CMakeLists.txt +++ b/UnleashedRecompLib/CMakeLists.txt @@ -1,8 +1,6 @@ project("UnleashedRecompLib") add_compile_options( - -march=sandybridge - -mlzcnt -fno-strict-aliasing ) diff --git a/tools/XenonRecomp b/tools/XenonRecomp index 87e35090..73b75e19 160000 --- a/tools/XenonRecomp +++ b/tools/XenonRecomp @@ -1 +1 @@ -Subproject commit 87e350906ba41cb01aedcc6cb3a94aac24d75251 +Subproject commit 73b75e197a6b9e8c1ad693f926c044d0f8f23a0b