aboutsummaryrefslogtreecommitdiff
path: root/system/fwupdate/fwupdate.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-01-09 20:59:54 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-20 07:01:20 +0700
commit7110074aabdb851eea82e31d43aab40d656a5a9d (patch)
tree62355d27b752bb8fa44804d387fce5651584f7b8 /system/fwupdate/fwupdate.SlackBuild
parentbd48040e2c38d180791db193941a728af90c53bc (diff)
system/fwupdate: Updated for version 10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
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 \