Control: tags -1 + patch jessie
Control: found -1 0.5.9-4

Hi,

Mips doesn't support neither "-m64" nor "-m32" options.

I have attached a patch solving the issue.

Regards,
Dejan Latinović
diff -uNr jaffl-0.5.9.orig/libtest/GNUmakefile jaffl-0.5.9/libtest/GNUmakefile
--- jaffl-0.5.9.orig/libtest/GNUmakefile	2013-11-28 12:40:51.000000000 +0000
+++ jaffl-0.5.9/libtest/GNUmakefile	2013-11-26 16:44:45.000000000 +0000
@@ -121,10 +121,12 @@
 
 # On platforms (linux, solaris) that support both 32bit and 64bit, force building for one or the other
 ifneq ($(or $(findstring linux, $(OS)), $(findstring solaris, $(OS))),)
-  # Change the CC/LD instead of CFLAGS/LDFLAGS, incase other things in the flags
-  # makes the libffi build choke
-  CC += -m$(MODEL)
-  LD += -m$(MODEL)
+  ifneq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mips mipsel)) 
+    # Change the CC/LD instead of CFLAGS/LDFLAGS, incase other things in the flags
+    # makes the libffi build choke
+    CC += -m$(MODEL)
+    LD += -m$(MODEL)
+  endif
 endif
 
 LIBTEST = $(BUILD_DIR)/$(LIBNAME)

Reply via email to