]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
csky: Select ARCH_WANT_FRAME_POINTERS only if compiler supports it
authorGuenter Roeck <linux@roeck-us.net>
Fri, 17 Sep 2021 04:38:36 +0000 (21:38 -0700)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 15 Oct 2021 23:20:12 +0000 (07:20 +0800)
commitaeba0b84dd07a9e6b362395f5ad47091249db13d
tree609d1d695b4e3a0fcb25d52cd27dbab2c875bc7e
parentaf89ebaa64de726ca0a39bbb0bf0c81a1f43ad50
csky: Select ARCH_WANT_FRAME_POINTERS only if compiler supports it

Compiling csky:allmodconfig with an upstream C compiler results
in the following error.

csky-linux-gcc: error:
unrecognized command-line option '-mbacktrace';
did you mean '-fbacktrace'?

Select ARCH_WANT_FRAME_POINTERS only if gcc supports it to
avoid the error.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guo Ren <guoren@kernel.org>
arch/csky/Kconfig