aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/configure.ac
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2009-07-30 22:56:08 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2009-07-30 22:56:08 +0000
commit9fc7757408ad0d8bbd69bb93bdf07b3b83496d53 (patch)
treec0341ab70cbdddbaf622a2b595066d636cb8e984 /libgfortran/configure.ac
parent930e51379c14283045d7df3f561ad815f7334c34 (diff)
downloadgcc-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.ac')
-rw-r--r--libgfortran/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index 1fadd2e..2d0dff0 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -448,6 +448,10 @@ AC_MSG_NOTICE([FPU dependent file will be ${fpu_host}.h])
FPU_HOST_HEADER=config/${fpu_host}.h
AC_SUBST(FPU_HOST_HEADER)
+# Some targets require additional compiler options for IEEE compatibility.
+IEEE_FLAGS="${ieee_flags}"
+AC_SUBST(IEEE_FLAGS)
+
# Check out attribute support.
LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY
LIBGFOR_CHECK_ATTRIBUTE_DLLEXPORT