From 6de085b322ee0085629ac31a91f88f1adfab6c5d Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 3 Feb 2016 19:24:04 +0700 Subject: graphics/openimageio: Fix build. Signed-off-by: Willy Sudiarto Raharjo --- graphics/openimageio/openimageio.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'graphics/openimageio/openimageio.SlackBuild') diff --git a/graphics/openimageio/openimageio.SlackBuild b/graphics/openimageio/openimageio.SlackBuild index f2c498a854822..b8ba69a7e20d4 100644 --- a/graphics/openimageio/openimageio.SlackBuild +++ b/graphics/openimageio/openimageio.SlackBuild @@ -33,7 +33,7 @@ PYLIB3_INSTALL_DIRECTORY=$(python3 -c "from distutils.sysconfig import get_pytho if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686 -D__STDC_CONSTANT_MACROS" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -D__STDC_CONSTANT_MACROS" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686 -D__STDC_CONSTANT_MACROS" -- cgit v1.2.3