From 2194bf7de6fa57724c0f8757fa60de9c573ce71e Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 14 Jul 2018 08:59:53 +0200 Subject: 20180714.1 global branch merge. Signed-off-by: Matteo Bernardini --- games/noteye/noteye.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'games/noteye/noteye.SlackBuild') 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. -- cgit v1.2.3