From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] LDFLAGS setting in buildroot
Date: Tue, 28 Oct 2008 14:37:29 +0100 [thread overview]
Message-ID: <20081028143729.71c6dc03@surf> (raw)
In-Reply-To: <C13DBBE85AD6974B85C118C35890CA5F13B20D91B5@EU1RDCRDC1WX029.exi.nxp.com>
Le Tue, 28 Oct 2008 13:36:08 +0100,
Daniel J Laird <daniel.j.laird@nxp.com> a ?crit :
> Sometime ago Thomas Petazzoni posted some patches about setting
> rpath-link etc.
>
> I have been playing with this and have come to similar conclusion.
> That is that doing LD="$(TARGET_LD) $(TARGET_LDFLAGS)" is not very
> helpful.
It's worse than that: on my setup, the patch you committed didn't work
because the -Wl,--rpath-link option was in TARGET_LDFLAGS, and so was
part of the LD variable, leading to ./configure failures when trying to
detect available libraries.
> They all build better (i.e I do not need to add LD_FLAGS to all the
> packages) and I can then add --rpath-link lines to TARGET_LDFLAGS and
> they all still build (no shared library issues) Does anyone have any
> problems with what I am suggesting before I go ahead and commit.....
Can you just send the patch you intend to commit, so that I can test
before ?
Thanks a lot for caring about this issue !
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2008-10-28 13:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 12:36 [Buildroot] LDFLAGS setting in buildroot Daniel J Laird
2008-10-28 13:18 ` Bernhard Reutner-Fischer
2008-10-28 13:35 ` Thomas Petazzoni
2008-10-28 13:45 ` Bernhard Reutner-Fischer
2008-10-28 14:08 ` Thomas Petazzoni
2008-10-28 15:31 ` Bernhard Reutner-Fischer
2008-10-28 16:00 ` Thomas Petazzoni
2008-10-28 16:07 ` Nick Peirson
2008-10-28 16:13 ` Bernhard Reutner-Fischer
2008-10-28 16:54 ` Steffen Schulz
2008-10-28 17:11 ` Daniel J Laird
2008-10-28 17:17 ` Bernhard Reutner-Fischer
2008-10-28 17:32 ` Daniel J Laird
2008-10-29 10:10 ` Daniel J Laird
2008-10-29 14:11 ` Peter Korsgaard
2008-10-29 14:17 ` Daniel Laird
2008-10-29 14:48 ` Bernhard Reutner-Fischer
2008-10-28 14:55 ` Daniel J Laird
2008-10-28 13:58 ` Daniel J Laird
2008-10-28 22:20 ` Thomas Petazzoni
2008-10-29 11:29 ` Thomas Petazzoni
2008-10-28 13:37 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081028143729.71c6dc03@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox