summaryrefslogtreecommitdiff
path: root/emulators/mame/files/patch-scripts_toolchain.lua
diff options
context:
space:
mode:
authorAlastair Hogge <agh@riseup.net>2023-05-09 15:53:43 +0800
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2023-05-09 15:59:12 +0800
commit3841ad2f6e56bcb80d80bcda7dd83fcb6fd9c3af (patch)
tree1e7c4a943340a57734db12044e1f5f8c0a06e4db /emulators/mame/files/patch-scripts_toolchain.lua
parentdevel/electron24: update to 24.2.0 (diff)
emulators/mame: Update to 0.254
emulators/mess has been merged to emulators/mame in the upstream. PR: 268691
Diffstat (limited to 'emulators/mame/files/patch-scripts_toolchain.lua')
-rw-r--r--emulators/mame/files/patch-scripts_toolchain.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/mame/files/patch-scripts_toolchain.lua b/emulators/mame/files/patch-scripts_toolchain.lua
new file mode 100644
index 000000000000..014ee01b1f28
--- /dev/null
+++ b/emulators/mame/files/patch-scripts_toolchain.lua
@@ -0,0 +1,12 @@
+--- scripts/toolchain.lua.orig 2023-05-06 02:56:32 UTC
++++ scripts/toolchain.lua
+@@ -60,7 +60,8 @@ function androidToolchainRoot()
+ local hostTags = {
+ windows = "windows-x86_64",
+ linux = "linux-x86_64",
+- macosx = "darwin-x86_64"
++ macosx = "darwin-x86_64",
++ bsd = "freebsd-x86_64"
+ }
+ android.toolchainRoot = (os.getenv("ANDROID_NDK_HOME") or "") .. "/toolchains/llvm/prebuilt/" .. hostTags[os.get()]
+ end