projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
objtool, retpolines: Integrate objtool with retpoline support more closely
[linux-2.6-block.git]
/
scripts
/
Makefile.build
diff --git
a/scripts/Makefile.build
b/scripts/Makefile.build
index ce0fc4dd68c659c6706b0d478c513c74e4c546cb..4f2b25d43ec9b46923e52ae5d6f2bf789a6465b4 100644
(file)
--- a/
scripts/Makefile.build
+++ b/
scripts/Makefile.build
@@
-267,8
+267,10
@@
else
objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable)
endif
ifdef CONFIG_RETPOLINE
+ifneq ($(RETPOLINE_CFLAGS),)
objtool_args += --retpoline
endif
+endif
ifdef CONFIG_MODVERSIONS