mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 20:10:17 +02:00
fix-compile-error-with-new-openwrt-toolchain
This commit is contained in:
parent
7c7245e7db
commit
4c8e0f1763
@ -25,7 +25,7 @@ DEBUG_CFLAGS = -g -Wa,-a=$(basename $@).lst
|
|||||||
# 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-unit-at-a-time -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) -fPIC
|
||||||
LDFLAGS = -nostdlib -T target.ld $(CFLAGS)
|
LDFLAGS = -nostdlib -T target.ld $(CFLAGS)
|
||||||
LIBS = -lstdc++ -lc -lm -lgcc
|
LIBS = -lstdc++ -lc -lm -lgcc
|
||||||
VPATH = ../target-common
|
VPATH = ../target-common
|
||||||
|
Loading…
Reference in New Issue
Block a user