nds32: Fix gcc 8.0 compiler option incompatible.
authorNickhu <nickhu@andestech.com>
Thu, 18 Oct 2018 08:37:55 +0000 (16:37 +0800)
committerGreentime Hu <greentime@andestech.com>
Tue, 6 Nov 2018 10:01:39 +0000 (18:01 +0800)
commit4c3d6174e0e17599549f636ec48ddf78627a17fe
tree55fd42a26bc0be95d14f48d4aa1445594421cd75
parent8730c178b4208ec52f4c2b381d9a2b685a791b1c
nds32: Fix gcc 8.0 compiler option incompatible.

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>
arch/nds32/mm/Makefile