mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: Always add -mieee for Renesas SH4.
Thanks, Nobuhiro Iwamatsu. [Feature #3874] [ruby-core:32548] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
449e5c6a5e
commit
d736170ea6
2 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Sep 25 21:56:25 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:17:39 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/stringio/stringio.c (Init_stringio): added readpartial,
|
||||
|
|
13
configure.in
13
configure.in
|
@ -586,12 +586,13 @@ AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
|
|||
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
|
||||
AC_CHECK_LIB(rt, clock_gettime) # GNU/Linux
|
||||
|
||||
case "$target_cpu" in
|
||||
alpha*) case "$target_os"::"$GCC" in
|
||||
*::yes) CFLAGS="-mieee $CFLAGS" ;; # gcc
|
||||
osf*) CFLAGS="-ieee $CFLAGS" ;; # ccc
|
||||
esac ;;
|
||||
esac
|
||||
AS_CASE(["$target_cpu"],
|
||||
[alpha*|sh4|sh4el|sh4eb], [AS_CASE(["$target_os"::"$GCC"],
|
||||
[*::yes], # gcc
|
||||
[CFLAGS="-mieee $CFLAGS"],
|
||||
[osf*], # ccc
|
||||
[CFLAGS="-ieee $CFLAGS"],
|
||||
)])
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_DIRENT
|
||||
|
|
Loading…
Add table
Reference in a new issue