summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-18 21:08:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-18 21:16:28 +0700
commit305dfa31d46eafdedfc2945d6e6738b6ef9a5e04 (patch)
tree4b5722bbfd2fe83085f9b3047380687bdcb46c96
parent8128421f6231c35bf8b2c8c6010a8f864db64c68 (diff)
downloadslackbuilds-305dfa31d46eafdedfc2945d6e6738b6ef9a5e04.tar.gz
libraries/wxGTK: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/wxGTK/wxGTK.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/wxGTK/wxGTK.SlackBuild b/libraries/wxGTK/wxGTK.SlackBuild
index 884c243e3b..9b5f54b4a9 100644
--- a/libraries/wxGTK/wxGTK.SlackBuild
+++ b/libraries/wxGTK/wxGTK.SlackBuild
@@ -34,7 +34,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
@@ -56,8 +56,8 @@ else
do_gp="with"
fi
-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"