no_hash_style_both_for_mips.patch 602 B

123456789101112131415161718192021
  1. Description: Disable -Wl,--hash-style=both on mips machines.
  2. It's not supported on mips and mipsel ports and leads to build errors.
  3. Author: Ognyan Kulev <ogi@debian.org>
  4. Forwarded: not-needed
  5. Last-Update: 2013-04-24
  6. ---
  7. This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  8. --- bowtie-1.0.0.orig/Makefile
  9. +++ bowtie-1.0.0/Makefile
  10. @@ -45,7 +45,9 @@
  11. LINUX = 0
  12. ifneq (,$(findstring Linux,$(shell uname)))
  13. LINUX = 1
  14. - EXTRA_FLAGS += -Wl,--hash-style=both
  15. + ifeq (,$(findstring mips,$(shell uname -m)))
  16. + EXTRA_FLAGS += -Wl,--hash-style=both
  17. + endif
  18. endif
  19. MM_DEF =