From 3ce1cf6943033f1a5e31fc8040b9ac2930535d5f Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Fri, 31 Jul 2009 12:29:33 +0000 Subject: [PATCH] Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@. * Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@. Don't set IEEE_FLAGS with @IEEE_FLAGS@. * Makefile.in: Regenerate. From-SVN: r150313 --- libgfortran/ChangeLog | 6 ++++++ libgfortran/Makefile.am | 2 -- libgfortran/Makefile.in | 8 ++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1412b0b980d..e8efb647c4b 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2009-07-31 Kaz Kojima + + * Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@. + Don't set IEEE_FLAGS with @IEEE_FLAGS@. + * Makefile.in: Regenerate. + 2009-07-30 Kaz Kojima * configure.host: Define ieee_flags and set it to -mieee for sh. diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index ee969d06936..aaecdb4f11a 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -34,11 +34,9 @@ AM_CPPFLAGS = -iquote$(srcdir)/io -I$(srcdir)/$(MULTISRCTOP)../gcc \ AM_CFLAGS += -fcx-fortran-rules # Use -ffunction-sections -fdata-sections if supported by the compiler -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= \ diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index d7742ff7302..7ea32c6608b 100644 --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@ -815,6 +815,10 @@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ # Fortran rules for complex multiplication and division + +# Use -ffunction-sections -fdata-sections if supported by the compiler + +# Some targets require additional compiler options for IEEE compatibility. AM_CFLAGS = @AM_CFLAGS@ -fcx-fortran-rules $(SECTION_FLAGS) \ $(IEEE_FLAGS) AM_FCFLAGS = @AM_FCFLAGS@ @@ -844,8 +848,6 @@ FCFLAGS = @FCFLAGS@ FGREP = @FGREP@ FPU_HOST_HEADER = @FPU_HOST_HEADER@ GREP = @GREP@ - -# Some targets require additional compiler options for IEEE compatibility. IEEE_FLAGS = @IEEE_FLAGS@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -879,8 +881,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ - -# Use -ffunction-sections -fdata-sections if supported by the compiler SECTION_FLAGS = @SECTION_FLAGS@ SED = @SED@ SET_MAKE = @SET_MAKE@