Messages in this thread |  | | Date | Sat, 15 Feb 2014 22:26:28 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH 01/19] x86, lto: Disable LTO for the x86 VDSO |
| |
On Fri, Feb 14, 2014 at 10:21:25PM +0100, Andi Kleen wrote: > From: Andi Kleen <ak@linux.intel.com> > > The VDSO does not play well with LTO, so just disable LTO for it. > Also pass a 32bit linker flag for the 32bit version. > > Cc: x86@kernel.org > Signed-off-by: Andi Kleen <ak@linux.intel.com> > --- > arch/x86/vdso/Makefile | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile > index fd14be1..598f163 100644 > --- a/arch/x86/vdso/Makefile > +++ b/arch/x86/vdso/Makefile > @@ -2,6 +2,8 @@ > # Building vDSO images for x86. > # > > +KBUILD_CFLAGS += ${DISABLE_LTO} > + In kbuild files $() is usally preferred.
Sam
|  |