summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-08-03 12:50:00 +0200
committer Matteo Bernardini2020-06-01 07:12:24 +0200
commit57fca5c08079262c2394d09eb0e43b0fde888904 (patch)
tree54d4d8788d3864059248831212c488b82bd21254
parentd2373cbac941d0dd3cc391d2e8d9d9b596f23c59 (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}"