summaryrefslogtreecommitdiffstats
path: root/system/smart/smart.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/smart/smart.SlackBuild')
-rw-r--r--system/smart/smart.SlackBuild10
1 files changed, 1 insertions, 9 deletions
diff --git a/system/smart/smart.SlackBuild b/system/smart/smart.SlackBuild
index 73c0b6ae9f..768e1003bb 100644
--- a/system/smart/smart.SlackBuild
+++ b/system/smart/smart.SlackBuild
@@ -33,14 +33,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
-fi
-
set -e
rm -rf $PKG
@@ -76,4 +68,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}