summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-06-27 15:49:07 +0000
committerjoerg <joerg@pkgsrc.org>2013-06-27 15:49:07 +0000
commit9ed14a3b81771d28dd6bfc56e841dd513f53cdd9 (patch)
tree75c186500db7fc2670feec80b7952e17ba87d9cd /emulators
parentcfc1db1a6ade4d9fc7acdeed01434cfbbcad0e42 (diff)
downloadpkgsrc-9ed14a3b81771d28dd6bfc56e841dd513f53cdd9.tar.gz
Avoid -O3 for clang.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/mame/Makefile.common b/emulators/mame/Makefile.common
index 758fc8f7daa..b75d596dfdc 100644
--- a/emulators/mame/Makefile.common
+++ b/emulators/mame/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2013/06/17 11:45:27 joerg Exp $
+# $NetBSD: Makefile.common,v 1.11 2013/06/27 15:49:07 joerg Exp $
#
# used by emulators/mame/Makefile
# used by emulators/mess/Makefile
@@ -41,6 +41,7 @@ _WRAP_EXTRA_ARGS.CC+= -Wno-error=cast-align \
-Wno-error=tautological-constant-out-of-range-compare \
-Wno-error=tautological-compare \
-Wno-error=self-assign-field
+MAKE_ENV+= OPTIMIZE=2
.endif
. include "../../mk/endian.mk"