diff options
| author | Andi Kleen <ak@linux.intel.com> | 2014-02-08 09:01:15 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 16:57:57 +0100 |
| commit | 00724ff58cc0489a0321e72e7fc6aec10ef9a3b4 (patch) | |
| tree | f0da8fda4e0d2c4f00185938bd405b0638e66575 /scripts/Makefile.build | |
| parent | ed79274dadcce1c45e5cc21e990a0e8e3799ef0b (diff) | |
Kbuild, lto: Disable LTO for asm-offsets.c
The asm-offset.c technique to fish data out of the assembler file
does not work with LTO. Just disable for the asm-offset.c build.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-11-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.build')
| -rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 5cd6651b2..003bc2631 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -208,7 +208,7 @@ $(multi-objs-y:.o=.s) : modname = $(modname-multi) $(multi-objs-y:.o=.lst) : modname = $(modname-multi) quiet_cmd_cc_s_c = CC $(quiet_modtag) $@ -cmd_cc_s_c = $(CC) $(c_flags) -fverbose-asm -S -o $@ $< +cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< $(obj)/%.s: $(src)/%.c FORCE $(call if_changed_dep,cc_s_c) |
