diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -846,6 +846,9 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | |||
846 | # Require designated initializers for all marked structures | 846 | # Require designated initializers for all marked structures |
847 | KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) | 847 | KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) |
848 | 848 | ||
849 | # change __FILE__ to the relative path from the srctree | ||
850 | KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) | ||
851 | |||
849 | # use the deterministic mode of AR if available | 852 | # use the deterministic mode of AR if available |
850 | KBUILD_ARFLAGS := $(call ar-option,D) | 853 | KBUILD_ARFLAGS := $(call ar-option,D) |
851 | 854 | ||