diff mbox series

[U-Boot,2/4] nds32: Remove gcc unused option

Message ID 20190115034726.8608-3-uboot@andestech.com
State Accepted
Commit 28c107f05ede76924449fb214c02a826d2f7d02f
Delegated to: Andes
Headers show
Series Support nds32 pre-build toolchain | expand

Commit Message

Andes Jan. 15, 2019, 3:47 a.m. UTC
From: Rick Chen <rick@andestech.com>

-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>
---
 arch/nds32/config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index 12cec36..a0f14ae 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -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