aboutsummaryrefslogtreecommitdiff
path: root/games/mednafen
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-01-25 12:51:44 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-31 08:32:12 +0700
commit3b63c833d0a0bed1a35de39da396782c48387ab8 (patch)
treecbbc8f51ef5835709f057f5fde54700e01306cef /games/mednafen
parent50ad1deb4e1cab6aa68763216008a156f010f462 (diff)
games/mednafen: Switched build from gcc to clang to fix test errors.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'games/mednafen')
-rw-r--r--games/mednafen/mednafen.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/mednafen/mednafen.SlackBuild b/games/mednafen/mednafen.SlackBuild
index 2754b2d39d0c..565250bed2a8 100644
--- a/games/mednafen/mednafen.SlackBuild
+++ b/games/mednafen/mednafen.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=mednafen
VERSION=${VERSION:-0.9.37.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,8 +71,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CC=clang CXX=clang++ \
+CXXFLAGS+="-D__STRICT_ANSI__" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \