aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-08-03 12:50:00 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:23:15 -0500
commit2c2396d5e5b9d1eb9be9227a09aee4ac2ec0efb9 (patch)
tree1c962c127b87b54f604237e4eca81115bba0fe0e
parent23f520af8967bc2333aab33503353da958486bfa (diff)
games/frogatto: Switch to clang, remove -Werror.
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 c292542f799c0..ab8438673224a 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}"