diff options
author | 2020-08-12 18:54:22 +0200 | |
---|---|---|
committer | 2020-08-12 12:54:22 -0400 | |
commit | 65b0df8761dd7772149ac1608fe7109f8cc8e056 (patch) | |
tree | e1320a020ff8edad060b59350bbfc945417c8760 /scripts/src | |
parent | 139a9bd5f365b27d1e5127b74bfa7451c1e1eb45 (diff) |
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
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/cpu.lua | 12 |
1 files changed, 8 insertions, 4 deletions
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 -------------------------------------------------- |