From 4fd8930898802ea8c34a280f71b7bcfdb7560ac4 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sat, 25 Sep 2010 00:52:20 +0000 Subject: configure.in: Always add -mieee for Renesas SH4 SH4 is CPU for embedded which developed by Renesas Electronics. Renesas SH4 has FPU. When FPU is used on sh4, -mieee of option is necessary. This supports sh4(basic), sh4el(sh4 little endian) and sh4eb(sh4 big endian). These do not have FPU though there are other sh4al, sh4al-dsp and etc. [Feature #3874] [ruby-core:32548] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 5a29f2cb84..fe6f09c0ae 100644 --- a/configure.in +++ b/configure.in @@ -991,7 +991,7 @@ if test "${enable_win95}" = yes; then fi AS_CASE(["$target_cpu"], -[alpha*], [AS_CASE(["$target_os"::"$GCC"], +[alpha*|sh4|sh4el|sh4eb], [AS_CASE(["$target_os"::"$GCC"], [*::yes], # gcc [CFLAGS="-mieee $CFLAGS"], [osf*], # ccc -- cgit v1.2.3