This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch libgfortran RFC] A tiny configury patch for SH


Paolo Bonzini <bonzini@gnu.org> wrote:
>> +IEEE_FLAGS = @IEEE_FLAGS@
> 
> This line is not needed, please remove it and also
> 
>>   SECTION_FLAGS = @SECTION_FLAGS@
> 
> since you are at it.

Argh, I've mimicked SECTION_FLAGS lines without thinking.

For the record, I've applied the attached patch after
sanity check with the usual tests on i686-pc-linux-gnu.

Regards,
	kaz
--
2009-07-31  Kaz Kojima  <kkojima@gcc.gnu.org>

	* Makefile.am: Don't set SECTION_FLAGS with @SECTION_FLAGS@.
	Don't set IEEE_FLAGS with @IEEE_FLAGS@.
	* Makefile.in: Regenerate.

diff -upr ORIG/trunk/libgfortran/Makefile.am trunk/libgfortran/Makefile.am
--- ORIG/trunk/libgfortran/Makefile.am	2009-07-31 16:23:14.000000000 +0900
+++ trunk/libgfortran/Makefile.am	2009-07-31 16:39:19.000000000 +0900
@@ -34,11 +34,9 @@ AM_CPPFLAGS = -iquote$(srcdir)/io -I$(sr
 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= \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]