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
1 changed files with 3 additions and 3 deletions

View File

@ -69,13 +69,13 @@ 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 {} \;
# Fix linking with boost libs
sed -i 's,-mt,,g' Makefile
# Fix linking with boost libs and remove -Werror
sed -i -e 's,-mt,,g' -e 's, -Werror,,' Makefile
make \
OPTIMIZE=no \
USE_CCACHE=no \
CXX=g++ \
CXX=clang++ \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"