Re: [PATCH] [1/5] kbuild: Fix ld-option Makefile macro to reallywork

From: Andi Kleen
Date: Tue Sep 15 2009 - 09:02:00 EST


> So now we pass the option direct to the linker rather than via gcc -wl.
> I assume this breaks the other 8 uses of ld-option in the kernel?
>
> Or does ld understand the -wl,... syntax?

It does not. But -X is passed directly to the linker, not via gcc,
so it needs to probe ld directly

The right fix is probably an new macro that works with ld (and
ideally rename this one which is confusingly named) I'll
send an updated patch.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/