The following patch removes global compilation flags duplicated in
sandbox makefile.
This also works-around a probable compiler issue noted in my mail here: 
http://sourceforge.net/mailarchive/forum.php?thread_name=48193193.30508%40gmail.com&forum_name=u-boot-users

Signed-off-by: Nishanth Menon <[EMAIL PROTECTED]>

Index: u-boot.v2/arch/sandbox/Makefile
===================================================================
--- u-boot.v2.orig/arch/sandbox/Makefile    2008-05-08
19:48:10.000000000 -0500
+++ u-boot.v2/arch/sandbox/Makefile    2008-05-08 19:49:58.000000000 -0500
@@ -1,5 +1,5 @@
 
-CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall \
+CPPFLAGS += -fno-builtin -ffreestanding\
     -pipe -fno-strict-aliasing
 
 machine-y       := sandbox
@@ -11,7 +11,7 @@
 TEXT_BASE = $(CONFIG_TEXT_BASE)
 
 CPPFLAGS += -P
-CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \
+CFLAGS := -Os -Dmalloc=u_boot_malloc \
         -Dfree=u_boot_free -Drealloc=u_boot_realloc \
         -Dread=u_boot_read -Dwrite=u_boot_write \
         -Dopen=u_boot_open -Dclose=u_boot_close \


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to