aboutsummaryrefslogtreecommitdiff
path: root/academic/gresistor
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 19:01:45 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:03 -0400
commitcf4eb31d35f8627a0000e8cd3fc0709d35e25b83 (patch)
treeceba373a9368f55446402dfba2e10d60cc65f468 /academic/gresistor
parent1711592c3edbba8354c385351cad50ba45a794cb (diff)
academic/gresistor: Change i486 to i586
Diffstat (limited to 'academic/gresistor')
-rw-r--r--academic/gresistor/gresistor.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/gresistor/gresistor.SlackBuild b/academic/gresistor/gresistor.SlackBuild
index 7271b8c13d714..c0d4dc9447562 100644
--- a/academic/gresistor/gresistor.SlackBuild
+++ b/academic/gresistor/gresistor.SlackBuild
@@ -13,7 +13,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
@@ -33,13 +33,13 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="README"
-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
+elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
-elif [ $ARCH = "x86_64" ]; then
+elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else