games/frogatto: Switch to clang, remove -Werror.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-08-03 12:50:00 +02:00 committed by Robby Workman
parent 23f520af89
commit 2c2396d5e5

View file

@ -69,13 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix linking with boost libs # Fix linking with boost libs and remove -Werror
sed -i 's,-mt,,g' Makefile sed -i -e 's,-mt,,g' -e 's, -Werror,,' Makefile
make \ make \
OPTIMIZE=no \ OPTIMIZE=no \
USE_CCACHE=no \ USE_CCACHE=no \
CXX=g++ \ CXX=clang++ \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"