From 6ce46d43c431dbc347be61ad5739d6d60ecbc9cd Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 2 Aug 2016 21:07:31 -0500 Subject: libraries/libvirt-glib: Changed from i486 to i586 on 32bit Signed-off-by: Robby Workman --- libraries/libvirt-glib/libvirt-glib.SlackBuild | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'libraries') 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" -- cgit v1.2.3