aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-10-27 05:13:44 +0100
committercrueter <crueter@eden-emu.dev>2025-10-27 05:13:44 +0100
commitc713d44c8873c29cce7d6d5203a6d5776893d892 (patch)
tree2bcc255fefcf611dbc5d92bb4c2b3e4ee1e9f1c5 /src
parent2a3e815dcd037d72fe45409dfb243fe41143e095 (diff)
[dynarmic, docs] Add support for DragonFly, shared mapping fallback to private, and update docs (#2829)
Add deps instructions for void linux, alpine, nixOS, DragonFlyBSD, update haiku new stuff; add basic coding guidelines Also fixes ucontext on dragonfly :) Allows fallback if ftruncate() fails (DragonFly doesnt like shm of big files with hammer2...) This will also indirectly help OpenIndiana and Solaris since they dont like big shared files either. The downside is that no inspection of the memory can be easily done. But that's just an edge case anyways. Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2829 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev> Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 42c93b0a5f..1e5ba54e7b 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -1181,13 +1181,14 @@ if (MSVC)
else()
target_compile_options(core PRIVATE
-Werror=conversion
-
-Wno-sign-conversion
-Wno-cast-function-type
-
$<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
- $<$<CXX_COMPILER_ID:Clang>:-Wno-cast-function-type-mismatch>
)
+ # pre-clang19 will spam with "OH DID YOU MEAN THIS?" otherwise...
+ if (CXX_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19)
+ target_compile_options(core PRIVATE -Wno-cast-function-type-mismatch)
+ endif()
endif()
target_include_directories(core PRIVATE ${OPUS_INCLUDE_DIRS})