Package: mpfr
Tags: patch

Hi,

I am porting of Renesas SuperH in Debian.
The current mpfr package doen't support SuperH and can not build.
Because SuperH is to become the error by a check of NAN.
But SuperH can evade this problem by attaching -mieee option.

I made a patch to revise to be able to build.
Would you apply it?

Best regards,
 Nobuhiro

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.29-1-686-bigmem

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org 

-- 
Nobuhiro Iwamatsu
        GPG ID: 3170EBE9
--- mpfr-2.4.1/debian/rules.orig	2009-05-27 08:53:42.000000000 +0000
+++ mpfr-2.4.1/debian/rules	2009-05-27 08:54:25.000000000 +0000
@@ -46,6 +46,9 @@
     endif
 endif
 
+ifeq (sh4,$(DEB_HOST_ARCH))
+    CFLAGS += -mieee
+endif
 
 build-doc: configure-stamp
 	$(MAKE) -C build pdf info html

Reply via email to