summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-25 00:52:20 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-09-25 00:52:20 +0000
commit4fd8930898802ea8c34a280f71b7bcfdb7560ac4 (patch)
treeb240596c4c15f7f37c25e932fc7b1433dcff5960 /configure.in
parentfeacd3c2e077e26c266d8f3f6bafad2be71a72d2 (diff)
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
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