Package: bowtie / 1.2.2+dfsg-4

no_hash_style_both_for_mips.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: No_hash_style_both_for_mips
 cription: Disable -Wl,--hash-style=both on mips machines.
  It's not supported on mips and mipsel ports and leads to build errors.
Forwarded: not-needed
Author: Ognyan Kulev <ogi@debian.org>
Last-Update: 2017-10-19
Bug-Debian: https://bugs.debian.org/864439

--- bowtie.orig/Makefile
+++ bowtie/Makefile
@@ -62,7 +62,9 @@
 LINUX =
 ifneq (,$(findstring Linux,$(shell uname)))
     LINUX = 1
-    override EXTRA_FLAGS += -Wl,--hash-style=both
+	ifeq (,$(findstring mips,$(shell uname -m)))
+		EXTRA_FLAGS += -Wl,--hash-style=both
+	endif
 endif
 
 MM_DEF =