summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-06-01 11:40:24 +0200
committer Matteo Bernardini2018-06-09 07:49:01 +0200
commitb961994655ab1b6ad696513d1f3df657bd8be3ee (patch)
tree2e7fa05f77022a9ef81119e7bb941c29418965ec
parent81c344443219574587ae3d6bccb8f19c1bd346af (diff)
downloadold.slackbuilds-caprice32.tar.gz
system/caprice32: Disabled narrowing warnings, respect CXXFLAGS.caprice32
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/caprice32/caprice32.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/caprice32/caprice32.SlackBuild b/system/caprice32/caprice32.SlackBuild
index ac27dd4df4..5eb64c1059 100644
--- a/system/caprice32/caprice32.SlackBuild
+++ b/system/caprice32/caprice32.SlackBuild
@@ -70,6 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|-O2|$SLKCFLAGS -Wno-narrowing|" makefile.unix
+
make -f makefile.unix RELEASE=TRUE
mkdir -p $PKG/usr/share/$PRGNAM $PKG/usr/bin