aboutsummaryrefslogtreecommitdiff
path: root/academic/bowtie/bowtie.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-17 20:43:00 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-18 00:26:11 +0700
commit393c7ade6b22cdccf32753bd1dcbd4193579c9e0 (patch)
tree2defcd5b0406147d940616a40ec33bc308c51530 /academic/bowtie/bowtie.SlackBuild
parent6bb4e21ad6d4376315b19e4ac121bbd5586b6ee1 (diff)
academic/bowtie: Mark x86 as unsupported.
Upstream only support x86_64 builds. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/bowtie/bowtie.SlackBuild')
-rw-r--r--academic/bowtie/bowtie.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/academic/bowtie/bowtie.SlackBuild b/academic/bowtie/bowtie.SlackBuild
index f9ba26ee43d5..d5b59d2871d1 100644
--- a/academic/bowtie/bowtie.SlackBuild
+++ b/academic/bowtie/bowtie.SlackBuild
@@ -50,18 +50,12 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+ printf "\n$ARCH is unsupported by bowtie\n"
+ exit 1
fi
set -e