X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Makefile;h=3e8dbe68eac8d40e0114aa381f5e29cf3ffad713;hb=43be46e89698a41dbf4fff81a322f4c2ae21b5e2;hp=ed669b2d705dc7b8c59065acb28c64cebdc84450;hpb=a13d0f8d117ca6b7885b51c4b21fe8d5a9eae714;p=linux-2.6-microblaze.git diff --git a/Makefile b/Makefile index ed669b2d705d..3e8dbe68eac8 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ VERSION = 5 PATCHLEVEL = 13 SUBLEVEL = 0 -EXTRAVERSION = -rc6 -NAME = Frozen Wasteland +EXTRAVERSION = -rc7 +NAME = Opossums on Parade # *DOCUMENTATION* # To see a list of typical targets execute "make help" @@ -929,11 +929,14 @@ CC_FLAGS_LTO += -fvisibility=hidden # Limit inlining across translation units to reduce binary size KBUILD_LDFLAGS += -mllvm -import-instr-limit=5 -# Check for frame size exceeding threshold during prolog/epilog insertion. +# Check for frame size exceeding threshold during prolog/epilog insertion +# when using lld < 13.0.0. ifneq ($(CONFIG_FRAME_WARN),0) +ifeq ($(shell test $(CONFIG_LLD_VERSION) -lt 130000; echo $$?),0) KBUILD_LDFLAGS += -plugin-opt=-warn-stack-size=$(CONFIG_FRAME_WARN) endif endif +endif ifdef CONFIG_LTO KBUILD_CFLAGS += -fno-lto $(CC_FLAGS_LTO)