Skip to content

Commit a53080b

Browse files
committed
Fix linux build
1 parent 476e04e commit a53080b

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ if (WITH_RPCSX)
187187
endif()
188188

189189
if (WITH_RPCS3)
190+
include(ConfigureCompiler)
191+
include(CheckFunctionExists)
192+
190193
add_subdirectory(rpcs3)
191194
add_subdirectory(ps3fw)
192195
endif()

android/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set(LLVM_VERSION 19.1)
99

1010
option(USE_ARCH "Specify arch to build" "")
1111

12-
if (NOT USE_ARCH STREQUAL "")
12+
if (USE_ARCH)
1313
add_compile_options(-march=${USE_ARCH})
1414
endif()
1515

cmake/ConfigureCompiler.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ else()
3030
endif()
3131

3232
add_compile_options(-Wall)
33-
# add_compile_options(-fno-exceptions)
33+
add_compile_options(-fno-exceptions)
3434
add_compile_options(-fstack-protector)
3535

3636
if(USE_NATIVE_INSTRUCTIONS AND COMPILER_SUPPORTS_MARCH_NATIVE)

0 commit comments

Comments
 (0)