From: Paolo Bonzini Date: Thu, 11 Nov 2010 23:44:44 +0000 (+0000) Subject: Makefile.in (gengtype-lex.c): Include bconfig.h first. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fb15466274ab5f901d2799552b5a15f63d6dfd4;p=gcc.git Makefile.in (gengtype-lex.c): Include bconfig.h first. 2010-11-11 Paolo Bonzini * Makefile.in (gengtype-lex.c): Include bconfig.h first. From-SVN: r166634 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f59637a41f..596ee8bdd4f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-11-11 Paolo Bonzini + + * Makefile.in (gengtype-lex.c): Include bconfig.h first. + 2010-11-11 Jan Hubicka * opts.c (finish_options): Do not error on -flto-partition alone. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index cc58d7f4c7d..8367a717004 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3943,7 +3943,11 @@ $(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o # Generated source files for gengtype. gengtype-lex.c : gengtype-lex.l - -$(FLEX) $(FLEXFLAGS) -o$@ $< + -$(FLEX) $(FLEXFLAGS) -o$@ $< && { \ + echo '#include "bconfig.h"' > $@.tmp; \ + cat $@ >> $@.tmp; \ + mv $@.tmp $@; \ + } # # Remake internationalization support.