|
@@ -11,6 +11,12 @@ UBSAN_SANITIZE := n
|
|
|
ORIG_CFLAGS := $(KBUILD_CFLAGS)
|
|
|
KBUILD_CFLAGS = $(subst $(CC_FLAGS_FTRACE),,$(ORIG_CFLAGS))
|
|
|
|
|
|
+ifdef CONFIG_CC_IS_CLANG
|
|
|
+# clang stores addresses on the stack causing the frame size to blow
|
|
|
+# out. See https://github.com/ClangBuiltLinux/linux/issues/252
|
|
|
+KBUILD_CFLAGS += -Wframe-larger-than=4096
|
|
|
+endif
|
|
|
+
|
|
|
ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
|
|
|
|
|
|
obj-y += xmon.o nonstdio.o spr_access.o
|