diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ | |||
1 | VERSION = 4 | 1 | VERSION = 4 |
2 | PATCHLEVEL = 11 | 2 | PATCHLEVEL = 11 |
3 | SUBLEVEL = 0 | 3 | SUBLEVEL = 0 |
4 | EXTRAVERSION = -rc3 | 4 | EXTRAVERSION = -rc5 |
5 | NAME = Fearless Coyote | 5 | NAME = Fearless Coyote |
6 | 6 | ||
7 | # *DOCUMENTATION* | 7 | # *DOCUMENTATION* |
@@ -372,7 +372,7 @@ LDFLAGS_MODULE = | |||
372 | CFLAGS_KERNEL = | 372 | CFLAGS_KERNEL = |
373 | AFLAGS_KERNEL = | 373 | AFLAGS_KERNEL = |
374 | LDFLAGS_vmlinux = | 374 | LDFLAGS_vmlinux = |
375 | CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im -Wno-maybe-uninitialized | 375 | CFLAGS_GCOV := -fprofile-arcs -ftest-coverage -fno-tree-loop-im $(call cc-disable-warning,maybe-uninitialized,) |
376 | CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,) | 376 | CFLAGS_KCOV := $(call cc-option,-fsanitize-coverage=trace-pc,) |
377 | 377 | ||
378 | 378 | ||
@@ -653,6 +653,12 @@ KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \ | |||
653 | # Tell gcc to never replace conditional load with a non-conditional one | 653 | # Tell gcc to never replace conditional load with a non-conditional one |
654 | KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) | 654 | KBUILD_CFLAGS += $(call cc-option,--param=allow-store-data-races=0) |
655 | 655 | ||
656 | # check for 'asm goto' | ||
657 | ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y) | ||
658 | KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO | ||
659 | KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO | ||
660 | endif | ||
661 | |||
656 | include scripts/Makefile.gcc-plugins | 662 | include scripts/Makefile.gcc-plugins |
657 | 663 | ||
658 | ifdef CONFIG_READABLE_ASM | 664 | ifdef CONFIG_READABLE_ASM |
@@ -798,12 +804,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | |||
798 | # use the deterministic mode of AR if available | 804 | # use the deterministic mode of AR if available |
799 | KBUILD_ARFLAGS := $(call ar-option,D) | 805 | KBUILD_ARFLAGS := $(call ar-option,D) |
800 | 806 | ||
801 | # check for 'asm goto' | ||
802 | ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC) $(KBUILD_CFLAGS)), y) | ||
803 | KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO | ||
804 | KBUILD_AFLAGS += -DCC_HAVE_ASM_GOTO | ||
805 | endif | ||
806 | |||
807 | include scripts/Makefile.kasan | 807 | include scripts/Makefile.kasan |
808 | include scripts/Makefile.extrawarn | 808 | include scripts/Makefile.extrawarn |
809 | include scripts/Makefile.ubsan | 809 | include scripts/Makefile.ubsan |