diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2016-08-02 21:07:31 -0500 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:55 +0100 |
commit | 6ce46d43c431dbc347be61ad5739d6d60ecbc9cd (patch) | |
tree | c39fc2db96a24d84d2e0d76f0c0a37440bc045cb | |
parent | e8928e05561686269f6eac43a4c474e0ba8ff7bf (diff) | |
download | slackbuilds-6ce46d43c431dbc347be61ad5739d6d60ecbc9cd.tar.gz |
libraries/libvirt-glib: Changed from i486 to i586 on 32bit
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | libraries/libvirt-glib/libvirt-glib.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libraries/libvirt-glib/libvirt-glib.SlackBuild b/libraries/libvirt-glib/libvirt-glib.SlackBuild index 16fe5f28ad..3c51adc40d 100644 --- a/libraries/libvirt-glib/libvirt-glib.SlackBuild +++ b/libraries/libvirt-glib/libvirt-glib.SlackBuild @@ -24,12 +24,12 @@ PRGNAM=libvirt-glib VERSION=${VERSION:-0.2.3} -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 @@ -40,11 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" |