summaryrefslogtreecommitdiff
path: root/system/dfu-util/dfu-util.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/dfu-util/dfu-util.SlackBuild')
-rw-r--r--system/dfu-util/dfu-util.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/dfu-util/dfu-util.SlackBuild b/system/dfu-util/dfu-util.SlackBuild
index 87b624c98e..890878e1f8 100644
--- a/system/dfu-util/dfu-util.SlackBuild
+++ b/system/dfu-util/dfu-util.SlackBuild
@@ -1,15 +1,16 @@
#!/bin/sh
# Slackware build script for dfu-util
# Written by Damien Durand <splinux25@gmail.com>
+# 2018 Maintained by Christoph Willing <chris.willing@linux.com>
PRGNAM=dfu-util
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -20,8 +21,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"