CHROMIUM: Disable -mapcs / -mno-sched-prolog for clang builds

clang doesn't understand -mapcs / -mno-sched-prolog.

Upstream solves the problem by restricting FRAME_POINTER to non-clang
builds, but the necessary config option is not available in v4.14.y.

Related upstream commit is 6dc5fd93b2f1 ("ARM: 8900/1:
UNWINDER_FRAME_POINTER implementation for Clang").

BUG=chromium:1076900
TEST=Build {arm,arm64,x86_64}:allmodconfig with clang

Change-Id: Ib8bf00613b3ac772d9020cc0b88c582b1951fb34
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2304210
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
1 file changed