From 65b0df8761dd7772149ac1608fe7109f8cc8e056 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Wed, 12 Aug 2020 18:54:22 +0200 Subject: Fix non-x86 build and try to make sure it does not break silently again (#7041) * Do not build x64 DRC backend when C backend is forced * New CI target (mametiny + kinst) * Switch travis to CI target * Switch appveyor to CI target --- scripts/src/cpu.lua | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'scripts/src') diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 64814fd67d7..f8c16807c87 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -39,12 +39,16 @@ if (CPU_INCLUDE_DRC) then MAME_DIR .. "src/devices/cpu/uml.h", MAME_DIR .. "src/devices/cpu/x86log.cpp", MAME_DIR .. "src/devices/cpu/x86log.h", - MAME_DIR .. "src/devices/cpu/drcbex86.cpp", - MAME_DIR .. "src/devices/cpu/drcbex86.h", - MAME_DIR .. "src/devices/cpu/drcbex64.cpp", - MAME_DIR .. "src/devices/cpu/drcbex64.h", MAME_DIR .. "src/devices/cpu/drcumlsh.h", } + if not _OPTIONS["FORCE_DRC_C_BACKEND"] then + files { + MAME_DIR .. "src/devices/cpu/drcbex64.cpp", + MAME_DIR .. "src/devices/cpu/drcbex64.h", + MAME_DIR .. "src/devices/cpu/drcbex86.cpp", + MAME_DIR .. "src/devices/cpu/drcbex86.h", + } + end end -------------------------------------------------- -- cgit v1.2.3-70-g09d2