summaryrefslogtreecommitdiffstats
path: root/system/caprice32/caprice32.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/caprice32/caprice32.SlackBuild')
-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