summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b259dd64ce95..74567b0ec2f0 100644
--- a/Makefile
+++ b/Makefile
@@ -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
847KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init) 847KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
848 848
849# change __FILE__ to the relative path from the srctree
850KBUILD_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
850KBUILD_ARFLAGS := $(call ar-option,D) 853KBUILD_ARFLAGS := $(call ar-option,D)
851 854