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