diff options
author | Christopher Larson <chris_larson@mentor.com> | 2015-11-10 22:12:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-25 08:08:16 +0000 |
commit | 8aeec87415a1eeeae2312042c8da70dcc71e91a5 (patch) | |
tree | 78d5d05eaf2510adbf2f64e10325b43205f3264d /meta/recipes-devtools/tcf-agent/tcf-agent | |
parent | 9025d2e1da3bc1c8b61bed9baf80dc883f3fcfaf (diff) | |
download | poky-8aeec87415a1eeeae2312042c8da70dcc71e91a5.tar.gz |
tcf-agent: obey LDFLAGS
This silences a GNU_HASH warning when using external toolchains. The patch is
courtesy Abdur Rehman <abdur_rehman@mentor.com>.
(From OE-Core rev: 909c77ad13b139478bd1a9eee288604a75d59ee5)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent')
-rw-r--r-- | meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch b/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch new file mode 100644 index 0000000000..c03c55d22b --- /dev/null +++ b/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | From d92af0483c20365fd0af740d0baef8870b4aa374 Mon Sep 17 00:00:00 2001 | ||
4 | From: Abdur Rehman <abdur_rehman@mentor.com> | ||
5 | Date: Wed, 26 Aug 2015 19:18:11 +0500 | ||
6 | Subject: [PATCH] tcf-agent: obey LDFLAGS | ||
7 | |||
8 | Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com> | ||
9 | --- | ||
10 | Makefile.inc | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Makefile.inc b/Makefile.inc | ||
14 | index 959028f..3148942 100644 | ||
15 | --- a/Makefile.inc | ||
16 | +++ b/Makefile.inc | ||
17 | @@ -96,7 +96,7 @@ NO_LINK_F ?= -c | ||
18 | # Linker definition and flags | ||
19 | |||
20 | LINK ?= $(CC) | ||
21 | -LINK_FLAGS ?= $(CFLAGS) | ||
22 | +LINK_FLAGS ?= $(LDFLAGS) $(CFLAGS) | ||
23 | LINK_OUT_F ?= $(OUT_OBJ_F) | ||
24 | |||
25 | # Archiver definition and flags | ||
26 | -- | ||
27 | 1.7.9.5 | ||
28 | |||