summaryrefslogtreecommitdiffstats
path: root/games/noteye/noteye.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2020-05-03 10:26:34 +0200
committer Matteo Bernardini2020-05-03 10:26:34 +0200
commit48259ed40770acaca280ee12a8434410f58aff30 (patch)
treef1ed654e2693aa523ece7d3bb3cadf0fe9089d66 /games/noteye/noteye.SlackBuild
parenta5a09aea950fef7569ac816b34a99b71830760d4 (diff)
downloadslackbuilds-current-20200503.1.tar.gz
20200503.1 global branch merge.current-20200503.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.