Hello,

this patch is for the MELT branch.

My GCC contributor number is 634276.

In a previous commit MELTHERE_CFLAGS was remove. I could still find a few references to it in the gcc/Makefile.in. I have also removed MELTHERE_CC1_CFLAGS as it takes its value from a subset of MELTHERE_CFLAGS

This patch removes them (with no incidence as MELTHERE_CFLAGS was empty).

Changelog

2011-05-16  Pierre Vittet  <pier...@pvittet.com>

        * Makefile.in: remove useless use of MELTHERE_CFLAGS,
        remove variable MELTHERE_CC1_CFLAGS, as it takes its arg from
        MELTHERE_CLAGS.


Thanks!
Index: gcc/Makefile.in
===================================================================
--- gcc/Makefile.in     (revision 173793)
+++ gcc/Makefile.in     (working copy)
@@ -5338,9 +5338,8 @@ melt_make_move=$(SHELL) $(srcdir)/../move-if-chang
 ## Don't use := definitions here!
 ## CC1 forbids -pipe and -Wp,-D_FORTIFY_SOURCE=2
 comma= ,
-MELTHERE_CC1_CFLAGS=$(filter-out -pipe -Wp$(comma)-D_FORTIFY_SOURCE=2, 
$(MELTHERE_CFLAGS))
-melt_make_cc1flags= -I. $(MELTHERE_CC1_CFLAGS)
-melt_cflags=  -I. $(MELTHERE_CFLAGS) -I $(srcdir)/melt/generated/ $(INCLUDES)
+melt_make_cc1flags= -I. 
+melt_cflags=  -I. -I $(srcdir)/melt/generated/ $(INCLUDES)
 export melt_cflags
 ## extra cflags are for compiling applicative MELT files, e.g. xtramelt*.c
 melt_extra_cflags= -g
@@ -5372,10 +5371,10 @@ include $(srcdir)/melt-build.mk
 melt.encap: cc1$(exeext) $(melt_make_cc1_dependency)
        echo melt.encap making Makefile and melt-build.mk
        $(MAKE) Makefile $(srcdir)/melt-build.mk
-       echo melt.encap making warmelt0 with MELTHERE_CFLAGS= 
$(MELTHERE_CFLAGS) melt_cflags= $(melt_cflags)
+       echo melt.encap making warmelt0 with melt_cflags= $(melt_cflags)
        $(MAKE) warmelt0
-       echo melt.encap making warmelt1 with MELTHERE_CFLAGS= 
$(MELTHERE_CFLAGS) melt_cflags= $(melt_cflags)
-## MELTHERE_CFLAGS & melt_cflags are exported!
+       echo melt.encap making warmelt1 with melt_cflags= $(melt_cflags)
+##  melt_cflags are exported!
        $(MAKE) warmelt1
        echo melt.encap making warmelt2
        $(MAKE) warmelt2

Reply via email to