From 5d0a80f6a6f8374702f4c467f6bf88227c3c5d59 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Tue, 18 Aug 2009 11:39:39 +0800 Subject: [PATCH] many users got error message then use that option Signed-off-by: Xiangfu Liu --- usbboot/xburst_stage2/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbboot/xburst_stage2/Makefile b/usbboot/xburst_stage2/Makefile index 14cb4f4..497ba0c 100644 --- a/usbboot/xburst_stage2/Makefile +++ b/usbboot/xburst_stage2/Makefile @@ -28,7 +28,7 @@ DEBUG_CFLAGS = -g -Wa,-a=$(basename $@).lst # The compiler may be optimizing in a way that conflicts with how the hardware ECC # registers work. Since other register accesses might be affected too it seems the best # is to disable this optimization right now. -CFLAGS = -mips32 -O2 -fno-exceptions -fno-unit-at-a-time -fno-zero-initialized-in-bss \ +CFLAGS = -mips32 -O2 -fno-exceptions -fno-zero-initialized-in-bss \ -ffunction-sections -fomit-frame-pointer -msoft-float -G 0 $(DEBUG_CFLAGS) \ -I$(XBURST_INCLUDE_PATH) -I$(INFLASH_SRC_PATH) LDFLAGS = -nostdlib -T target.ld $(CFLAGS)