diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-01-25 12:51:44 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-01-31 08:32:12 +0700 |
commit | 3b63c833d0a0bed1a35de39da396782c48387ab8 (patch) | |
tree | cbbc8f51ef5835709f057f5fde54700e01306cef /games/mednafen/mednafen.SlackBuild | |
parent | 50ad1deb4e1cab6aa68763216008a156f010f462 (diff) | |
download | slackbuilds-3b63c833d0a0bed1a35de39da396782c48387ab8.tar.gz |
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/mednafen.SlackBuild')
-rw-r--r-- | games/mednafen/mednafen.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
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 \ |