[Debian-med-packaging] Bug#747431: Don't use -m64 for mips64(el)

Yunqiang Su wzssyqa at gmail.com
Thu May 8 15:44:04 UTC 2014


Package: genometools
Version: 1.5.1-2

For mips64 and mips64el, they use -mabi=64 instead of -m64

This patch can fix this problems

Index: genometools-1.5.1/Makefile
===================================================================
--- genometools-1.5.1.orig/Makefile     2014-05-08 13:07:05.000000000 +0000
+++ genometools-1.5.1/Makefile  2014-05-08 13:22:12.376923148 +0000
@@ -372,13 +372,11 @@
 endif

 ifeq ($(m64),yes)
-  ifneq ($(MACHINE),ia64)
-    ifneq ($(MACHINE),alpha)
+  ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el))
       GT_CFLAGS += -m64
       HMMER_CFLAGS += -m64
       GT_LDFLAGS += -m64
       SQLITE_CFLAGS += -m64
-    endif
   endif
 endif

-- 
Yunqiang Su



More information about the Debian-med-packaging mailing list