summaryrefslogtreecommitdiff
path: root/games/mame/mame.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/mame/mame.SlackBuild')
-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 db0381225b..1111f3b585 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.