Messages in this thread | | | Date | Tue, 15 Sep 2009 15:01:47 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH] [1/5] kbuild: Fix ld-option Makefile macro to really work |
| |
> 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@linux.intel.com -- Speaking for myself only.
| |