Commit 28c107f0 authored by Rick Chen's avatar Rick Chen Committed by Andes

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's avatarRick Chen <>
Cc: Greentime Hu <>
parent f715ed45
......@@ -17,6 +17,6 @@ LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/
PLATFORM_RELFLAGS += -fno-common -mrelax
PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie
PLATFORM_CPPFLAGS += -D__nds32__ -ffixed-10 -fpie
LDFLAGS_u-boot = --gc-sections --relax -pie
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment