mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-03 20:53:11 +02:00

OpenAL Soft 1.24 introduces a lot of code that doesn't work well with the PlayStation 3 homebrew toolchain, and also the old version of the Wii U homebrew toolchain currently used by the libretro buildbot. Instead of maintaining a bunch of patches to get 1.24 to work on these toolchains, I think it'd be easier to just use 1.23.
13 lines
551 B
Diff
13 lines
551 B
Diff
# Stops OpenAL Soft from trying to get realtime priority because Emscripten doesn't support all the necessary APIs and this will result in compilation errors when targeting Emscripten.
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -565,7 +565,7 @@ if(NOT WIN32)
|
|
set(LINKER_FLAGS ${LINKER_FLAGS} -pthread)
|
|
endif()
|
|
|
|
- check_symbol_exists(pthread_setschedparam pthread.h HAVE_PTHREAD_SETSCHEDPARAM)
|
|
+
|
|
|
|
# Some systems need pthread_np.h to get pthread_setname_np
|
|
check_include_files("pthread.h;pthread_np.h" HAVE_PTHREAD_NP_H)
|