]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nds32: Remove gcc unused option
authorRick Chen <rick@andestech.com>
Thu, 10 Jan 2019 03:22:43 +0000 (11:22 +0800)
committerAndes <uboot@andestech.com>
Tue, 22 Jan 2019 09:35:53 +0000 (17:35 +0800)
-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

index 12cec368d3b8eba06f387f5941526fc98203560f..a0f14ae589abe2b2aec875f9549c8e604f1b2d97 100644 (file)
@@ -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