diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2016-09-14 18:00:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-14 18:00:34 +0700 |
commit | b90f2411b15d8e635db07d4516ca182ec88cd8fd (patch) | |
tree | 5586baf5026f22f6e83b96d8f1d0c724805ed737 /libraries/dietlibc/dietlibc.SlackBuild | |
parent | e7108d392392b1c6c9be09ee502e6faad71d98f6 (diff) |
libraries/dietlibc: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/dietlibc/dietlibc.SlackBuild')
-rw-r--r-- | libraries/dietlibc/dietlibc.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libraries/dietlibc/dietlibc.SlackBuild b/libraries/dietlibc/dietlibc.SlackBuild index 304f8f1bd14c..2581a3960a56 100644 --- a/libraries/dietlibc/dietlibc.SlackBuild +++ b/libraries/dietlibc/dietlibc.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dietlibc -# Copyright (c) 2010-2013 Markus Reichelt, Aachen, DE +# Copyright (c) 2010-2016 Markus Reichelt, Aachen, DE # All rights reserved. # # Permission to use, copy, modify, and distribute this software for @@ -25,12 +25,12 @@ PRGNAM=dietlibc VERSION=${VERSION:-0.33} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -41,8 +41,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" @@ -65,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make make install DESTDIR=$PKG |