aboutsummaryrefslogtreecommitdiff
path: root/system/rtirq
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-15 23:41:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commitd7205f6348ba48b334c283428d6650e8feaed5d1 (patch)
treee3cada5d8ba5966153d976101022539cebc4853d /system/rtirq
parentca4736303ef1c95e82a397967971057ae2982816 (diff)
system/rtirq: Use ARCH=noarch.
Diffstat (limited to 'system/rtirq')
-rw-r--r--system/rtirq/rtirq.SlackBuild22
1 files changed, 1 insertions, 21 deletions
diff --git a/system/rtirq/rtirq.SlackBuild b/system/rtirq/rtirq.SlackBuild
index 40d881d31e3c..606dfb565328 100644
--- a/system/rtirq/rtirq.SlackBuild
+++ b/system/rtirq/rtirq.SlackBuild
@@ -18,33 +18,13 @@ VERSION=${VERSION:-20150216}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG