summaryrefslogtreecommitdiffstats
path: root/games/noteye/noteye.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-24 10:35:48 +0200
committer Matteo Bernardini2019-08-24 10:35:48 +0200
commite93fc1029f35673e06f2d9126d1353248d7e3896 (patch)
tree23b5b1b9250223d5c1c941b9bb3c21e2a59645e6 /games/noteye/noteye.SlackBuild
parent5afd639f0f73f1a079e885e0ef5df06643eba6a4 (diff)
downloadslackbuilds-current-20190824.1.tar.gz
20190824.1 global branch merge.current-20190824.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/noteye/noteye.SlackBuild')
-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 828e65f220..4ae54029b8 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.