diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-25 00:52:20 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-25 00:52:20 +0000 |
commit | 4fd8930898802ea8c34a280f71b7bcfdb7560ac4 (patch) | |
tree | b240596c4c15f7f37c25e932fc7b1433dcff5960 | |
parent | feacd3c2e077e26c266d8f3f6bafad2be71a72d2 (diff) | |
download | ruby-4fd8930898802ea8c34a280f71b7bcfdb7560ac4.tar.gz |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Sep 25 10:05:49 2010 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * configure.in: Always add -mieee for Renesas SH4. + Thanks, Nobuhiro Iwamatsu. [Feature #3874] [ruby-core:32548] + Sat Sep 25 01:34:41 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * Makefile.in (install-cross): target to install cross-compiling 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 |