summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2017-10-05 14:42:39 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-10-05 14:42:39 +0200
commit26eafeaab917dd228d292f362be1577c9b4b2e77 (patch)
treebd89e0ed1c11635d184c7b497aac6ddd967ebde8 /scripts
parent4c3711d7fb4763c63b2654f2d07cbe21ca5aadd4 (diff)
parentd81fa669e3de7eb8a631d7d95dac5fbcb2bf9d4e (diff)
downloadlinux-26eafeaab917dd228d292f362be1577c9b4b2e77.tar.gz
linux-26eafeaab917dd228d292f362be1577c9b4b2e77.zip
Merge branch 'linus' into timers/core
Pick up upstream changes to get the prerequisites for the timer changes.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 2e3a10e79ca9..061d0c3a420a 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -265,6 +265,8 @@ objtool_args += --no-fp
endif
ifdef CONFIG_GCOV_KERNEL
objtool_args += --no-unreachable
+else
+objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable)
endif
# 'OBJECT_FILES_NON_STANDARD := y': skip objtool checking for a directory