diff options
| author | Rick Chen <[email protected]> | 2019-01-10 11:22:43 +0800 |
|---|---|---|
| committer | Andes <[email protected]> | 2019-01-22 17:35:53 +0800 |
| commit | 28c107f05ede76924449fb214c02a826d2f7d02f (patch) | |
| tree | a0b73e8930a332b12bcf0123926ec49e2950cc55 | |
| parent | f715ed4591a6e24875e42a4ac2e628c02cf11243 (diff) | |
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 <[email protected]>
Cc: Greentime Hu <[email protected]>
| -rw-r--r-- | arch/nds32/config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk index 12cec368d3b..a0f14ae589a 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 |
