[OE-core] [PATCH v2 6/8] blktrace: obey LDFLAGS for btrecord
Khem Raj
raj.khem at gmail.com
Thu Sep 18 07:26:02 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9/16/14 6:17 PM, Christopher Larson wrote:
> From: Christopher Larson <chris_larson at mentor.com>
>
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
> meta/recipes-kernel/blktrace/blktrace/ldflags.patch | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
> index b9c7c20..037d161 100644
> --- a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
> +++ b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
> @@ -59,8 +59,12 @@ Signed-off-by: Fahad Usman <fahad_usman at mentor.com>
> INCS = -I. -I.. -I../btt
> OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG
> XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -@@ -35,7 +36,7 @@ btrecord: btrecord.o
> - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
> +@@ -32,10 +33,10 @@ clean: docsclean
> + $(CC) $(CFLAGS) -c -o $*.o $<
> +
> + btrecord: btrecord.o
> +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
> ++ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS)
>
aren't you passing LDFLAGS to compile step as well here ?
> btreplay: btreplay.o
> - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS)
>
- --
- -Khem
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
iEYEARECAAYFAlQaiQoACgkQuwUzVZGdMxT8RgCeOnVS1P+8kPTGj+GbRQfGSPyb
NMAAmgKJL65/3Y5ot35pALZv8ZgRHxQ0
=DxWh
-----END PGP SIGNATURE-----
More information about the Openembedded-core
mailing list