aboutsummaryrefslogtreecommitdiff
path: root/games/mame
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:08:55 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-11 19:09:33 +0200
commiteea6f9a7268ecf0a00fd7873de30baef217424aa (patch)
treee0d4ed02db995d0e75145f071f3a3b3eb3f3f4f6 /games/mame
parentab4b1b49245ac7b5e6962c8d39ea65d50b09a97d (diff)
games/mame: Disabled two kinds of "warnings-as-errors".
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/mame')
-rw-r--r--games/mame/mame.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/mame/mame.SlackBuild b/games/mame/mame.SlackBuild
index db0381225b65..1111f3b585ad 100644
--- a/games/mame/mame.SlackBuild
+++ b/games/mame/mame.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=mame
VERSION=${VERSION:-0.146}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -76,7 +76,8 @@ cat $CWD/ini_path.diff | patch -p0
# This is purely cosmetic.
sed -i 's/DISTRO = generic/DISTRO = slackware/' src/osd/sdl/sdl.mak
-make OPTIMIZE=3 ARCHOPTS="$SLKCFLAGS"
+make OPTIMIZE=3 \
+ ARCHOPTS="$SLKCFLAGS -Wno-error=narrowing -Wno-error=maybe-uninitialized"
make tools
# There is no "make install" target, just copy everything where it goes.