mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
games/frogatto: Switch to clang, remove -Werror.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
23f520af89
commit
2c2396d5e5
1 changed files with 3 additions and 3 deletions
|
@ -69,13 +69,13 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
# Fix linking with boost libs
|
# Fix linking with boost libs and remove -Werror
|
||||||
sed -i 's,-mt,,g' Makefile
|
sed -i -e 's,-mt,,g' -e 's, -Werror,,' Makefile
|
||||||
|
|
||||||
make \
|
make \
|
||||||
OPTIMIZE=no \
|
OPTIMIZE=no \
|
||||||
USE_CCACHE=no \
|
USE_CCACHE=no \
|
||||||
CXX=g++ \
|
CXX=clang++ \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
|
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue