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
This commit is contained in:
kosaki 2010-09-25 00:52:20 +00:00
Родитель feacd3c2e0
Коммит 4fd8930898
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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