[U-Boot] [RFC][PATCH 1/8] Fix gcc 4.4.1 compiler warning
Graeme Russ
graeme.russ at gmail.com
Sat Sep 26 14:57:31 CEST 2009
---
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
+
$(obj)../tools/envcrc:
$(MAKE) -C ../tools
--
1.6.4.1.174.g32f4c
More information about the U-Boot
mailing list