aboutsummaryrefslogtreecommitdiff
path: root/system/elasticsearch
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:21 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:48 -0400
commitc3bec8610107bbbc6c233423a170db0cfe4e4a9a (patch)
tree1ead77a0639e5d136b87c6bdeb787ceb2e18218d /system/elasticsearch
parent443ddfaacd0f821ada980ed32fb881b873db94ed (diff)
system/elasticsearch: Change i486 to i586
Diffstat (limited to 'system/elasticsearch')
-rw-r--r--system/elasticsearch/elasticsearch.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/elasticsearch/elasticsearch.SlackBuild b/system/elasticsearch/elasticsearch.SlackBuild
index d01bf968fb71..99c0d453d3f1 100644
--- a/system/elasticsearch/elasticsearch.SlackBuild
+++ b/system/elasticsearch/elasticsearch.SlackBuild
@@ -37,7 +37,7 @@ ES_GID=${ES_GID:-280}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -55,8 +55,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"