diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-07-30 22:56:08 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-07-30 22:56:08 +0000 |
commit | 9fc7757408ad0d8bbd69bb93bdf07b3b83496d53 (patch) | |
tree | c0341ab70cbdddbaf622a2b595066d636cb8e984 /libgfortran/configure.host | |
parent | 930e51379c14283045d7df3f561ad815f7334c34 (diff) | |
download | gcc-9fc7757408ad0d8bbd69bb93bdf07b3b83496d53.zip gcc-9fc7757408ad0d8bbd69bb93bdf07b3b83496d53.tar.gz gcc-9fc7757408ad0d8bbd69bb93bdf07b3b83496d53.tar.bz2 |
configure.host: Define ieee_flags and set it to -mieee for sh.
* configure.host: Define ieee_flags and set it to -mieee for sh.
* configure.ac: Set IEEE_FLAGS with ieee_flags.
* Makefile.am: Add IEEE_FLAGS to AM_CFLAGS.
* configure: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r150280
Diffstat (limited to 'libgfortran/configure.host')
-rw-r--r-- | libgfortran/configure.host | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgfortran/configure.host b/libgfortran/configure.host index 73da571..eb68c93 100644 --- a/libgfortran/configure.host +++ b/libgfortran/configure.host @@ -38,3 +38,10 @@ fi if test "x${have_fp_enable}" = "xyes" && test "x${have_fp_trap}" = "xyes"; then fpu_host='fpu-aix' fi + +# Some targets require additional compiler options for NaN/Inf. +ieee_flags= +case "${host_cpu}" in + sh*) + ieee_flags="-mieee" ;; +esac |