diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2017-08-02 10:15:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:45:02 -0500 |
commit | bb6564d0cbfdac2da47cbe825b11a3d91ad77b78 (patch) | |
tree | aa750da834ff05a232fdea681d61e3dddf40265f /games/noteye | |
parent | 01ba011856483f88aa659c1350157bc3c4bd6a0b (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.SlackBuild | 3 |
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. |