summaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
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/Makefile.am
parent930e51379c14283045d7df3f561ad815f7334c34 (diff)
downloadgcc-9fc7757408ad0d8bbd69bb93bdf07b3b83496d53.tar.gz
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/Makefile.am')
-rw-r--r--libgfortran/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index 4a974ba0066..ee969d06936 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -37,6 +37,10 @@ AM_CFLAGS += -fcx-fortran-rules
SECTION_FLAGS = @SECTION_FLAGS@
AM_CFLAGS += $(SECTION_FLAGS)
+# Some targets require additional compiler options for IEEE compatibility.
+IEEE_FLAGS = @IEEE_FLAGS@
+AM_CFLAGS += $(IEEE_FLAGS)
+
gfor_io_src= \
io/close.c \
io/file_pos.c \