summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mame/Makefile.common12
-rw-r--r--emulators/tme/Makefile10
2 files changed, 20 insertions, 2 deletions
diff --git a/emulators/mame/Makefile.common b/emulators/mame/Makefile.common
index fef3a3fa855..632b6472d17 100644
--- a/emulators/mame/Makefile.common
+++ b/emulators/mame/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.18 2014/11/27 12:46:59 wiz Exp $
+# $NetBSD: Makefile.common,v 1.19 2014/12/01 12:39:17 joerg Exp $
#
# used by emulators/mame/Makefile
# used by emulators/mess/Makefile
@@ -43,6 +43,16 @@ _WRAP_EXTRA_ARGS.CC+= -Wno-error=cast-align \
-Wno-error=self-assign-field \
-Wno-error=unused-const-variable \
-Wno-error=unused-function
+CWRAPPERS_APPEND.cc+= -Wno-error=cast-align \
+ -Wno-error=constant-logical-operand \
+ -Wno-error=sometimes-uninitialized \
+ -Wno-error=shift-count-overflow \
+ -Wno-error=unused-private-field \
+ -Wno-error=tautological-constant-out-of-range-compare \
+ -Wno-error=tautological-compare \
+ -Wno-error=self-assign-field \
+ -Wno-error=unused-const-variable \
+ -Wno-error=unused-function
MAKE_ENV+= OPTIMIZE=2
.endif
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index 45e610c6219..551bbd9a07f 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2014/06/27 00:07:27 asau Exp $
+# $NetBSD: Makefile,v 1.54 2014/12/01 12:39:17 joerg Exp $
#
DISTNAME= tme-0.8
@@ -28,10 +28,18 @@ _WRAP_EXTRA_ARGS.CC+= -Wno-error=tautological-compare \
-Wno-error=sometimes-uninitialized \
-Wno-error=unused-function \
-Wno-error=absolute-value
+CWRAPPERS_APPEND.cc+= -Wno-error=tautological-compare \
+ -Wno-error=sometimes-uninitialized \
+ -Wno-error=unused-function \
+ -Wno-error=absolute-value
.elif !empty(CC_VERSION:Mgcc-4.8.*)
_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-variable \
-Wno-error=array-bounds \
-fno-strict-aliasing
+CWRAPPERS_APPEND.cc+= -Wno-error=unused-but-set-variable \
+ -Wno-error=array-bounds \
+ -fno-strict-aliasing
+
.endif
PLIST_VARS+= bsd