aboutsummaryrefslogtreecommitdiff
path: root/system/fwupdate/fwupdate.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fwupdate/fwupdate.SlackBuild')
-rw-r--r--system/fwupdate/fwupdate.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/fwupdate/fwupdate.SlackBuild b/system/fwupdate/fwupdate.SlackBuild
index 50a421c9776ec..3e48ff38c5eb5 100644
--- a/system/fwupdate/fwupdate.SlackBuild
+++ b/system/fwupdate/fwupdate.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fwupdate
-# Copyright 2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fwupdate
-VERSION=${VERSION:-9}
+VERSION=${VERSION:-10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,15 +43,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
- EFIARCH=ia32
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- EFIARCH=ia32
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- EFIARCH=x64
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -72,7 +69,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 {} \;
-make \
+# randomly fails with more than one thread
+make -j1 \
EFIDIR=Slackware \
libdir=/usr/lib$LIBDIRSUFFIX \
mandir=/usr/man \