1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-22 19:35:59 +02:00

many users got error message then use that option

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
Xiangfu Liu 2009-08-18 11:39:39 +08:00
parent 23e322b2dd
commit 5d0a80f6a6

View File

@ -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 # 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 # registers work. Since other register accesses might be affected too it seems the best
# is to disable this optimization right now. # 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) \ -ffunction-sections -fomit-frame-pointer -msoft-float -G 0 $(DEBUG_CFLAGS) \
-I$(XBURST_INCLUDE_PATH) -I$(INFLASH_SRC_PATH) -I$(XBURST_INCLUDE_PATH) -I$(INFLASH_SRC_PATH)
LDFLAGS = -nostdlib -T target.ld $(CFLAGS) LDFLAGS = -nostdlib -T target.ld $(CFLAGS)