Fix linux build

This commit is contained in:
DH 2025-04-10 05:28:31 +03:00
parent 476e04e2fb
commit a53080b75f
3 changed files with 5 additions and 2 deletions

View file

@ -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()

View file

@ -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()

View file

@ -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)