mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-29 13:00:32 +01:00
system/luckybackup: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
62243f64af
commit
1025206e4f
2 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for luckybackup
|
# Slackware build script for luckybackup
|
||||||
|
|
||||||
# Copyright by titopoquito (titopoquito@gmail.com), rob van nues (rvnues@tesco.net)
|
# Copyright by titopoquito (titopoquito@gmail.com), rob van nues (sborg63@disroot.org)
|
||||||
# Permission to use, copy, modify, and distribute this software for
|
# Permission to use, copy, modify, and distribute this software for
|
||||||
# any purpose with or without fee is hereby granted, provided that
|
# any purpose with or without fee is hereby granted, provided that
|
||||||
# the above copyright notice and this permission notice appear in all
|
# the above copyright notice and this permission notice appear in all
|
||||||
|
@ -36,7 +36,7 @@ ADDGKSU=true # change to false if gksu is not used (on non-KDE systems)
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i586 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
|
@ -47,8 +47,8 @@ TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i586" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="rob van nues"
|
MAINTAINER="rob van nues"
|
||||||
EMAIL="rvnues-at-tesco.net"
|
EMAIL="sborg63@disroot.org"
|
||||||
|
|
Loading…
Reference in a new issue