summaryrefslogtreecommitdiff
path: root/source/l/libspectre
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libspectre')
-rwxr-xr-xsource/l/libspectre/libspectre.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/l/libspectre/libspectre.SlackBuild b/source/l/libspectre/libspectre.SlackBuild
index 5b6b0650..39668be3 100755
--- a/source/l/libspectre/libspectre.SlackBuild
+++ b/source/l/libspectre/libspectre.SlackBuild
@@ -23,12 +23,7 @@
PRGNAM=libspectre
VERSION=${VERSION:-0.2.5}
-BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:--j6}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp}
-PKG=$TMP/package-$PRGNAM
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -40,6 +35,12 @@ if [ -z "$ARCH" ]; then
esac
fi
+NUMJOBS=${NUMJOBS:--j6}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp}
+PKG=$TMP/package-$PRGNAM
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""