aboutsummaryrefslogtreecommitdiff
path: root/games/noteye
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-08-02 10:15:47 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:45:02 -0500
commitbb6564d0cbfdac2da47cbe825b11a3d91ad77b78 (patch)
treeaa750da834ff05a232fdea681d61e3dddf40265f /games/noteye
parent01ba011856483f88aa659c1350157bc3c4bd6a0b (diff)
games/noteye: Switch to clang.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/noteye')
-rw-r--r--games/noteye/noteye.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/noteye/noteye.SlackBuild b/games/noteye/noteye.SlackBuild
index 828e65f220cc7..4ae54029b85c9 100644
--- a/games/noteye/noteye.SlackBuild
+++ b/games/noteye/noteye.SlackBuild
@@ -74,6 +74,9 @@ sed -i 's,-llua5.1,-llua,g' src/Makefile
# store the writable high score file in /var, not /usr/share.
sed -i 's,"hydrascores.sav","/var/games/hydrascores.sav",' hydra/hydra.cpp
+# use clang++ as the code won't build with gcc >= 5.x
+sed -i 's|g++ |clang++ |' src/Makefile
+
make -C src CFLAGS="$SLKCFLAGS"
# The 'make install' target is bad and wrong. Don't use.