summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libodfgen/libodfgen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libodfgen/libodfgen.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libodfgen/libodfgen.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/slackware64-current/source/l/libodfgen/libodfgen.SlackBuild b/slackware64-current/source/l/libodfgen/libodfgen.SlackBuild
index c7a7210a6..02d0b3987 100755
--- a/slackware64-current/source/l/libodfgen/libodfgen.SlackBuild
+++ b/slackware64-current/source/l/libodfgen/libodfgen.SlackBuild
@@ -32,7 +32,7 @@ NUMJOBS=${NUMJOBS:--j7}
MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
case "$MARCH" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
armv7hl) export ARCH=$MARCH ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
@@ -40,8 +40,8 @@ if [ -z "$ARCH" ]; then
esac
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"