nds32: Fix gcc 8.0 compiler option incompatible.
authorNickhu <nickhu@andestech.com>
Thu, 18 Oct 2018 08:37:55 +0000 (16:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Feb 2019 18:46:57 +0000 (19:46 +0100)
commit752abfadcb8b60a1598024aea49f289fc36508c5
treea8c5cca37bc92e972b7ab2e49ba9a02770569e42
parenta6eccfac83937c48c20370fc21b3127323e94424
nds32: Fix gcc 8.0 compiler option incompatible.

[ Upstream commit 4c3d6174e0e17599549f636ec48ddf78627a17fe ]

When the kernel configs of ftrace and frame pointer options are
choosed, the compiler option of kernel will incompatible.
Error message:
nds32le-linux-gcc: error: -pg and -fomit-frame-pointer are incompatible

Signed-off-by: Nickhu <nickhu@andestech.com>
Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/nds32/mm/Makefile