X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Makefile;h=a7bc91cbac8fcb1f306185fb08362693508ef44d;hb=a194a62650de5f74795a8edf0db5d8fdf1218aeb;hp=f0d118b86287832467015f0840ff283de94423cc;hpb=ffeb595d84811dde16a28b33d8a7cf26d51d51b3;p=linux-2.6-microblaze.git diff --git a/Makefile b/Makefile index f0d118b86287..a7bc91cbac8f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION = 5 PATCHLEVEL = 7 SUBLEVEL = 0 -EXTRAVERSION = -rc7 +EXTRAVERSION = NAME = Kleptomaniac Octopus # *DOCUMENTATION* @@ -862,6 +862,12 @@ ifdef CONFIG_LIVEPATCH KBUILD_CFLAGS += $(call cc-option, -flive-patching=inline-clone) endif +ifdef CONFIG_SHADOW_CALL_STACK +CC_FLAGS_SCS := -fsanitize=shadow-call-stack +KBUILD_CFLAGS += $(CC_FLAGS_SCS) +export CC_FLAGS_SCS +endif + # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)