Merge pull request #6862 from belegdol/asmjit_build_only_on_x86

Only build asmjit on x86 and x86_64
This commit is contained in:
ajrhacker 2020-06-27 10:38:09 -04:00 committed by GitHub
commit 02ae3b8aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -2224,6 +2224,7 @@ project "wdlfft"
-- asmjit library -- asmjit library
-------------------------------------------------- --------------------------------------------------
if not _OPTIONS["FORCE_DRC_C_BACKEND"] then
project "asmjit" project "asmjit"
uuid "4539757c-6e99-4bae-b3d0-b342a7c49539" uuid "4539757c-6e99-4bae-b3d0-b342a7c49539"
kind "StaticLib" kind "StaticLib"
@ -2353,3 +2354,4 @@ project "asmjit"
MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass.cpp", MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass.cpp",
MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass_p.h", MAME_DIR .. "3rdparty/asmjit/src/asmjit/x86/x86rapass_p.h",
} }
end

View File

@ -261,8 +261,12 @@ end
"wdlfft", "wdlfft",
ext_lib("jpeg"), ext_lib("jpeg"),
"7z", "7z",
}
if not _OPTIONS["FORCE_DRC_C_BACKEND"] then
links {
"asmjit", "asmjit",
} }
end
if (STANDALONE~=true) then if (STANDALONE~=true) then
links { links {
ext_lib("lua"), ext_lib("lua"),