summaryrefslogtreecommitdiff
path: root/emulators/mame/patches/patch-makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-04-04 17:32:17 +0000
committerjoerg <joerg@pkgsrc.org>2016-04-04 17:32:17 +0000
commiteb9623691eb247d91b66f7dc56c91c2067f8a9f1 (patch)
tree489191c13d30a77623ef3753e6d7a4673c004a82 /emulators/mame/patches/patch-makefile
parent1734690196ccc15546f9275af289d8541536a176 (diff)
downloadpkgsrc-eb9623691eb247d91b66f7dc56c91c2067f8a9f1.tar.gz
Don't introduce target specific flags for Clang. Fix clang handling in
the Lua build script and avoid alloca issues on NetBSD.
Diffstat (limited to 'emulators/mame/patches/patch-makefile')
-rw-r--r--emulators/mame/patches/patch-makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/emulators/mame/patches/patch-makefile b/emulators/mame/patches/patch-makefile
new file mode 100644
index 00000000000..7a98c2d1884
--- /dev/null
+++ b/emulators/mame/patches/patch-makefile
@@ -0,0 +1,16 @@
+$NetBSD: patch-makefile,v 1.14 2016/04/04 17:32:17 joerg Exp $
+
+--- makefile.orig 2016-04-04 07:38:18.519192767 +0000
++++ makefile
+@@ -806,11 +806,6 @@ ifeq ($(CLANG_VERSION),)
+ $(info GCC $(GCC_VERSION) detected)
+ else
+ $(info Clang $(CLANG_VERSION) detected)
+-ifeq ($(ARCHITECTURE),_x64)
+-ARCHITECTURE := _x64_clang
+-else
+-ARCHITECTURE := _x86_clang
+-endif
+ endif
+ ifneq ($(PYTHON_AVAILABLE),python)
+ $(error Python is not available in path)