summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg>2013-06-27 15:49:07 +0000
committerjoerg <joerg>2013-06-27 15:49:07 +0000
commit1beb97d7987b46fb98b4a0d92483b43ddcf02613 (patch)
tree75c186500db7fc2670feec80b7952e17ba87d9cd /emulators
parenta83ad0bbffb6215af2599ff4080d5b77a6bcda92 (diff)
downloadpkgsrc-1beb97d7987b46fb98b4a0d92483b43ddcf02613.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"