diff options
Diffstat (limited to 'system/sakura/sakura.SlackBuild')
-rw-r--r-- | system/sakura/sakura.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/sakura/sakura.SlackBuild b/system/sakura/sakura.SlackBuild index 32da0defd60a7..bd575383efd0a 100644 --- a/system/sakura/sakura.SlackBuild +++ b/system/sakura/sakura.SlackBuild @@ -30,7 +30,11 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -cmake -DCMAKE_INSTALL_PREFIX=/usr . +cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \ + -DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \ + . make make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/sakura @@ -47,4 +51,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |