[Buildroot] Fwd: [PATCH 1/1] uboot: Strip "-Wl," from LDFLAGS
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Feb 10 16:41:15 UTC 2016
Hello,
Thanks for this patch! See some comments below.
On Wed, 10 Feb 2016 16:03:23 +0100, Jeroen Roovers wrote:
> ---------- Forwarded message ----------
> From: Jeroen Roovers <jer at airfi.aero>
> Date: 10 February 2016 at 12:15
> Subject: [PATCH 1/1] uboot: Strip "-Wl," from LDFLAGS
> To: buildroot at buildroot.org
> Cc: Jeroen Roovers <jer at airfi.aero>
>
>
> If we want to set proper LDFLAGS, then we need to mangle that in the
> uboot build system as it calls ld(1) (in fact ld.bfd) directly,
> where the "-Wl," prefix should only be used when the linker is
> called indirectly through gcc(1).
>
> Signed-off-by: Jeroen Roovers <jer at airfi.aero>
What specific/real problem is this fixing? I.e in which
situation/configuration are you seeing that TARGET_LDFLAGS contains a
-Wl option?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list