On Fri, Feb 14, 2014 at 10:21:25PM +0100, Andi Kleen wrote: > From: Andi Kleen <ak@xxxxxxxxxxxxxxx> > > 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@xxxxxxxxxx > Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html