On 05/27/2010 08:25 AM, Steven Bosscher wrote:
On Thu, May 27, 2010 at 7:15 AM, Paolo Bonzini<bonz...@gnu.org>  wrote:
Well, gives me at least one clue so far: the implicit rule .c.o is
over-ruled by t-i386, which explains why the extra CFLAGS-$file are
not passed to config/i386/i386-c.c.  I'm now restarting the build with
extra front ends included again, to see if there is something equally
obvious "wrong" there.

Hmm, I originally suggested adding the flags to ALL_CFLAGS:

   $(ALL_HOST_FRONTEND_OBJS): ALL_CFLAGS += -DIN_GCC_FRONTEND

but then changed my mind and switched to adding them to .c.o.

I suppose you have to add $(CFLAGS-$@) to ALL_CFLAGS. :-)

# This lists all host objects for the front ends.
ALL_HOST_FRONTEND_OBJS = $(C_OBJS) \
  $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS))

Any idea what might be wrong? :-(

Yes, likely the makefile fragments haven't been included when you do the $(eval).

Paolo

Reply via email to