From 3b63c833d0a0bed1a35de39da396782c48387ab8 Mon Sep 17 00:00:00 2001 From: "Ryan P.C. McQuen" Date: Sun, 25 Jan 2015 12:51:44 -0800 Subject: games/mednafen: Switched build from gcc to clang to fix test errors. Signed-off-by: Ryan P.C. McQuen --- games/mednafen/mednafen.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'games') diff --git a/games/mednafen/mednafen.SlackBuild b/games/mednafen/mednafen.SlackBuild index 2754b2d39d..565250bed2 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 \ -- cgit v1.2.3