mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-05 23:02:07 +01:00
Fix linux build
This commit is contained in:
parent
476e04e2fb
commit
a53080b75f
|
|
@ -187,6 +187,9 @@ if (WITH_RPCSX)
|
|||
endif()
|
||||
|
||||
if (WITH_RPCS3)
|
||||
include(ConfigureCompiler)
|
||||
include(CheckFunctionExists)
|
||||
|
||||
add_subdirectory(rpcs3)
|
||||
add_subdirectory(ps3fw)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ set(LLVM_VERSION 19.1)
|
|||
|
||||
option(USE_ARCH "Specify arch to build" "")
|
||||
|
||||
if (NOT USE_ARCH STREQUAL "")
|
||||
if (USE_ARCH)
|
||||
add_compile_options(-march=${USE_ARCH})
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ else()
|
|||
endif()
|
||||
|
||||
add_compile_options(-Wall)
|
||||
# add_compile_options(-fno-exceptions)
|
||||
add_compile_options(-fno-exceptions)
|
||||
add_compile_options(-fstack-protector)
|
||||
|
||||
if(USE_NATIVE_INSTRUCTIONS AND COMPILER_SUPPORTS_MARCH_NATIVE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue