diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-03-18 21:02:32 -0600 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-06-07 02:23:53 -0400 |
commit | c48b76e5f2a5014bb7e944cc2288e912aea72851 (patch) | |
tree | b4735b3687664cd7bc881c1d536ada2c23d35497 /system | |
parent | 90f73445092e83ea11caf702cf91db57b56b4c9e (diff) |
system/ttmkfdir: Change i486 to i586
Diffstat (limited to 'system')
-rw-r--r-- | system/ttmkfdir/ttmkfdir.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/ttmkfdir/ttmkfdir.SlackBuild b/system/ttmkfdir/ttmkfdir.SlackBuild index 74d01b5fc990d..23577463f1473 100644 --- a/system/ttmkfdir/ttmkfdir.SlackBuild +++ b/system/ttmkfdir/ttmkfdir.SlackBuild @@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; *) export ARCH=$( uname -m ) ;; esac @@ -52,12 +52,12 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Set compiling FLAGS -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686"; SLKLDFLAGS=""; LIBDIRSUFFIX=""; CHOST="i486" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686"; SLKLDFLAGS=""; LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686"; SLKLDFLAGS=""; LIBDIRSUFFIX=""; CHOST="i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686"; SLKLDFLAGS=""; LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC"; SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64"; CHOST="x86_64" + SLKCFLAGS="-O2 -fPIC"; SLKLDFLAGS="-L/usr/lib64"; LIBDIRSUFFIX="64" fi set -e |