Makefile.in (gengtype-lex.c): Include bconfig.h first.
2010-11-11 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (gengtype-lex.c): Include bconfig.h first. From-SVN: r166634
This commit is contained in:
parent
f76b96c20d
commit
8fb1546627
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-11-11 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* Makefile.in (gengtype-lex.c): Include bconfig.h first.
|
||||
|
||||
2010-11-11 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* opts.c (finish_options): Do not error on -flto-partition alone.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue