summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-08-03 12:50:00 +0200
committer Matteo Bernardini2019-08-18 07:54:43 +0200
commit6e086e3bc3d855f0373d8a4a7a2ae59a087056e1 (patch)
tree85d06e879103bfaa4ee99e43961849bb657c892f
parentd04189e642ca17186cb9b2b5899fa9c12aceb782 (diff)
downloadslackbuilds-frogatto.tar.gz
games/frogatto: Switch to clang, remove -Werror.frogatto
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/frogatto/frogatto.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/frogatto/frogatto.SlackBuild b/games/frogatto/frogatto.SlackBuild
index c292542f79..ab84386732 100644
--- a/games/frogatto/frogatto.SlackBuild
+++ b/games/frogatto/frogatto.SlackBuild
@@ -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}"