On Saturday 26 September 2009 08:57:31 Graeme Russ wrote: > --- > common/Makefile | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/common/Makefile b/common/Makefile > index 3781738..7ea6e93 100644 > --- a/common/Makefile > +++ b/common/Makefile > @@ -178,6 +178,10 @@ $(obj)env_embedded.o: $(src)env_embedded.c > $(obj)../tools/envcrc -DENV_CRC=$(shell $(obj)../tools/envcrc) \ > -c -o $@ $(src)env_embedded.c > > +$(obj)dlmalloc.o: $(src)dlmalloc.c $(obj)dlmalloc.o > + $(CC) $(CFLAGS) -Wa,--no-warn -fno-strict-aliasing \ > + -c -o $@ $(src)dlmalloc.c
there's already patches floating around to fix this at the source level but if your only goal is to add custom compiler flags, please use the per- object CFLAGS support. this should work: CFLAGS_dlmalloc.o += -Wa,--no-warn -fno-strict-aliasing -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot