--- a/debian/rules	2009-05-28 07:08:45.000000000 +0000
+++ b/debian/rules	2009-05-28 07:08:35.000000000 +0000
@@ -68,6 +68,10 @@
 ifeq (alpha,$(shell dpkg-architecture -qDEB_HOST_ARCH))
   # The -O2 option breaks make check on alpha right now.
   deb_cflags := -Os -g
+else ifeq (sh4,$(shell dpkg-architecture -qDEB_HOST_ARCH))
+  # Renesas SH(sh4) need -mieee option.
+  # If this option is not effective, test-conversion test failed.
+  deb_cflags := -O2 -g -mieee
 else
   deb_cflags := -O2 -g
 endif
