summaryrefslogtreecommitdiffstats
path: root/games/noteye/noteye.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2019-06-01 08:04:50 +0200
committer Matteo Bernardini2019-06-01 08:04:50 +0200
commit2db21f42f1d573cfa75fb9514a0254b2502c6050 (patch)
tree2388d873a4ab017311462b4d45eff4eef995bbe3 /games/noteye/noteye.SlackBuild
parentcbd3d3aea94e2b2bad95afbbb42f117af120c3d4 (diff)
downloadslackbuilds-current-20190601.1.tar.gz
20190601.1 global branch merge.current-20190601.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.