summaryrefslogtreecommitdiff
path: root/libraries/xforms/xforms.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xforms/xforms.SlackBuild')
-rw-r--r--libraries/xforms/xforms.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/xforms/xforms.SlackBuild b/libraries/xforms/xforms.SlackBuild
index 1cf2772eba..989a8aff16 100644
--- a/libraries/xforms/xforms.SlackBuild
+++ b/libraries/xforms/xforms.SlackBuild
@@ -4,6 +4,8 @@
# Copyright 2009-2014 LukenShiro, Italy
# All rights reserved.
+# Copyright 2019 Christoph Willing, Brisbane Australia
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -29,7 +31,7 @@ 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
@@ -45,8 +47,8 @@ DOCFILES="ChangeLog COPYING.LIB Copyright INSTALL* README"
DEMOFILES="*.h *.c *.xbm *.xpm *.menu .libs/*"
DEMOFDFILES="*.h *.c *.fd *.xpm"
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"