diff options
author | Matteo Bernardini | 2017-08-02 10:15:47 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-06-09 08:35:58 +0200 |
commit | a8f11a2367dd93183f8d182a814845d03c965e14 (patch) | |
tree | 771fcb1602f0501b276622fdc785177bf54e3290 | |
parent | 81c344443219574587ae3d6bccb8f19c1bd346af (diff) | |
download | old.slackbuilds-noteye.tar.gz |
games/noteye: Switch to clang.noteye
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 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. |