nds32: Remove gcc unused option
-G0 is an old option, not support now, So remove it. It can help to fix compile error when build with nds32 pre-build toolchain. Signed-off-by: Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com>
This commit is contained in:
parent
f715ed4591
commit
28c107f05e
@ -17,6 +17,6 @@ LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/nds32.lds
|
||||
|
||||
PLATFORM_RELFLAGS += -fno-common -mrelax
|
||||
PLATFORM_RELFLAGS += -gdwarf-2
|
||||
PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie
|
||||
PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie
|
||||
|
||||
LDFLAGS_u-boot = --gc-sections --relax -pie
|
||||
|
Loading…
Reference in New Issue
Block a user