[compat] openbsd port fixes #273
6 changed files with 25 additions and 6 deletions
|
@ -50,7 +50,9 @@ CMAKE_DEPENDENT_OPTION(ENABLE_SDL2 "Enable the SDL2 frontend" ON "NOT ANDROID" O
|
|||
|
||||
set(EXT_DEFAULT ON)
|
||||
|
||||
if (PLATFORM_FREEBSD)
|
||||
# See https://github.com/llvm/llvm-project/issues/123946
|
||||
# OpenBSD va_list doesn't play nice with precompiled headers
|
||||
if (PLATFORM_FREEBSD OR PLATFORM_OPENBSD)
|
||||
set(EXT_DEFAULT OFF)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -63,6 +63,7 @@ If you would like to contribute, we are open to new developers and pull requests
|
|||
* **Solaris**: [Solaris Building Guide](./docs/build/Solaris.md)
|
||||
* **FreeBSD**: [FreeBSD Building Guide](./docs/build/FreeBSD.md)
|
||||
* **macOS**: [macOS Building Guide](./docs/build/macOS.md)
|
||||
* **OpenBSD**: [OpenBSD Building Guide](./docs/build/OpenBSD.md)
|
||||
|
||||
## Download
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
* **Solaris**: [Solaris Building Guide](./build/Solaris.md)
|
||||
* **FreeBSD**: [FreeBSD Building Guide](./build/FreeBSD.md)
|
||||
* **macOS**: [macOS Building Guide](./build/macOS.md)
|
||||
* **OpenBSD**: [OpenBSD Building Guide](./build/OpenBSD.md)
|
||||
|
||||
# CPM
|
||||
|
||||
|
|
15
docs/build/OpenBSD.md
vendored
Normal file
15
docs/build/OpenBSD.md
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Building for OpenBSD
|
||||
|
||||
```sh
|
||||
pkg_add -u
|
||||
pkg_add cmake nasm git boost unzip--iconv autoconf-2.72p0 bash ffmpeg glslang g++-11.2.0p18 gmake
|
||||
git --recursive https://git.eden-emu.dev/eden-emu/eden
|
||||
```
|
||||
|
||||
Select g++-11.2. The compiler can then be invoked via `ec++`.
|
||||
|
||||
```sh
|
||||
cmake -DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF -DCMAKE_BUILD_TYPE=Debug -DENABLE_QT=OFF -DENABLE_OPENSSL=OFF -DENABLE_WEB_SERVICE=OFF -B /usr/obj/eden
|
||||
```
|
||||
|
||||
- Modify `externals/ffmpeg/CMakeFiles/ffmpeg-build/build.make` to use `-j$(nproc)` instead of just `-j`.
|
|
@ -7,7 +7,7 @@
|
|||
#include <boost/asio.hpp>
|
||||
#include <boost/version.hpp>
|
||||
|
||||
#if BOOST_VERSION > 108300 && (!defined(_WINDOWS) && !defined(ANDROID)) || defined(YUZU_BOOST_v1)
|
||||
#if BOOST_VERSION > 108400 && (!defined(_WINDOWS) && !defined(ANDROID)) || defined(YUZU_BOOST_v1)
|
||||
#define USE_BOOST_v1
|
||||
#endif
|
||||
|
||||
|
|
8
src/dynarmic/externals/CMakeLists.txt
vendored
8
src/dynarmic/externals/CMakeLists.txt
vendored
|
@ -62,10 +62,10 @@ AddJsonPackage(
|
|||
|
||||
# unordered_dense
|
||||
|
||||
# AddJsonPackage(
|
||||
# NAME unordered-dense
|
||||
# BUNDLED_PACKAGE ${DYNARMIC_USE_BUNDLED_EXTERNALS}
|
||||
# )
|
||||
AddJsonPackage(
|
||||
NAME unordered-dense
|
||||
BUNDLED_PACKAGE ${DYNARMIC_USE_BUNDLED_EXTERNALS}
|
||||
)
|
||||
|
||||
# xbyak
|
||||
# uncomment if in an independent repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue