summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-09-16 22:35:29 -0700
committerTom Rini <trini@konsulko.com>2018-09-25 21:50:34 -0400
commitd8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2 (patch)
tree38b5672987a57c3409a9557c7b3e4edb096ce324 /arch/nds32
parent5bc11922f1f8e0bfb27e8e260c7971405535c257 (diff)
downloadu-boot-d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2.tar.gz
u-boot-d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2.tar.bz2
u-boot-d8d81d4a5d0e5aaef5a005a357d3b9ed2b7cc4b2.zip
config.mk: Remove duplicated -fno-strict-aliasing
Now that we already disable the "strict-aliasing" globally, remove the duplicates in the nds32/riscv/x86 arch-specific Makefiles. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index cb3d8b35b5..c5520fd8d8 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -15,7 +15,7 @@ endif
CONFIG_STANDALONE_LOAD_ADDR = 0x300000 \
-T $(srctree)/examples/standalone/nds32.lds
-PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax
+PLATFORM_RELFLAGS += -fno-common -mrelax
PLATFORM_RELFLAGS += -gdwarf-2
PLATFORM_CPPFLAGS += -D__nds32__ -G0 -ffixed-10 -fpie