diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-03-18 20:46:03 -0600 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-06-07 02:23:33 -0400 |
commit | 6ac1d078722648a27aa34f83bf604b01b9a44506 (patch) | |
tree | f7b733e0bd3672000a7d12e5c3db64ee7380332b /network | |
parent | ae246ff8c8b1ef9f1a2cbb2c5638994def1b51ce (diff) |
network/wol: Change i486 to i586
Diffstat (limited to 'network')
-rw-r--r-- | network/wol/wol.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/network/wol/wol.SlackBuild b/network/wol/wol.SlackBuild index 3a4d9f87aa16e..0f41e2b83610c 100644 --- a/network/wol/wol.SlackBuild +++ b/network/wol/wol.SlackBuild @@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -32,11 +32,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i386" ]; then - SLKCFLAGS="-O2 -march=i386 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" |