diff options
author | Jim Diamond <zsd@jdvb.ca> | 2024-01-04 09:45:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-01-04 10:14:42 +0700 |
commit | 5775485557848055c75072671a0d704bd7db86c1 (patch) | |
tree | 0e903c2e4959e91d1adc99354ff23b96e7cb62e2 /libraries/goffice | |
parent | 9d1a8736b762147e33676953a147c06a9280130c (diff) |
libraries/goffice: Apply patch for 686.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/goffice')
-rw-r--r-- | libraries/goffice/goffice.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
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 |