From 5775485557848055c75072671a0d704bd7db86c1 Mon Sep 17 00:00:00 2001 From: Jim Diamond Date: Thu, 4 Jan 2024 09:45:33 +0700 Subject: libraries/goffice: Apply patch for 686. Signed-off-by: Willy Sudiarto Raharjo --- libraries/goffice/goffice.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/goffice') diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild index 3cd6100de9a49..39282e2f9d35d 100644 --- a/libraries/goffice/goffice.SlackBuild +++ b/libraries/goffice/goffice.SlackBuild @@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=goffice VERSION=${VERSION:-0.10.56} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -53,8 +53,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" +if [ "$ARCH" = "i586" -o "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=$ARCH -mtune=i686" LIBDIRSUFFIX="" CONFIG_ARGS="--without-long-double" NEED_PATCHES=T -- cgit v1.2.3