mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-11 22:49:55 +00:00
CMake: Add LSE2 option
This commit is contained in:
@@ -29,6 +29,7 @@ else()
|
||||
endif()
|
||||
|
||||
option(USE_NATIVE_INSTRUCTIONS "USE_NATIVE_INSTRUCTIONS makes rpcs3 compile with -march=native, which is useful for local builds, but not good for packages." ON)
|
||||
option(USE_ARM_LSE2 "Compile with LSE2 instructions" OFF)
|
||||
option(WITH_LLVM "Enable usage of LLVM library" ON)
|
||||
option(BUILD_LLVM "Build LLVM from git submodule" OFF)
|
||||
option(STATIC_LINK_LLVM "Link against LLVM statically. This will get set to ON if you build LLVM from the submodule." OFF)
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Check and configure compiler options for RPCS3
|
||||
|
||||
if(USE_ARM_LSE2)
|
||||
add_compile_definitions(ARM_FEATURE_LSE2=1)
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options(/Zc:throwingNew- /constexpr:steps16777216)
|
||||
add_compile_definitions(
|
||||
|
||||
Reference in New Issue
Block a user