summaryrefslogtreecommitdiff
path: root/system/caprice32
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-06-01 11:40:24 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:15:53 -0500
commit7b9a80981de80d04b51b7e9e562c79c63aecce40 (patch)
treefd7bc1aa57a7f3d07abbd3d004076756fd3f46f6 /system/caprice32
parentf90d2c03644a079e2fd8e3e4f0c8a3fd0dbd37bf (diff)
downloadslackbuilds-7b9a80981de80d04b51b7e9e562c79c63aecce40.tar.gz
system/caprice32: Disabled narrowing warnings, respect CXXFLAGS.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/caprice32')
-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