summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2015-11-10 22:12:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:16 +0000
commit8aeec87415a1eeeae2312042c8da70dcc71e91a5 (patch)
tree78d5d05eaf2510adbf2f64e10325b43205f3264d /meta
parent9025d2e1da3bc1c8b61bed9baf80dc883f3fcfaf (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch28
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb1
2 files changed, 29 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 @@
1Upstream-Status: Pending
2
3From d92af0483c20365fd0af740d0baef8870b4aa374 Mon Sep 17 00:00:00 2001
4From: Abdur Rehman <abdur_rehman@mentor.com>
5Date: Wed, 26 Aug 2015 19:18:11 +0500
6Subject: [PATCH] tcf-agent: obey LDFLAGS
7
8Signed-off-by: Abdur Rehman <abdur_rehman@mentor.com>
9---
10 Makefile.inc | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile.inc b/Makefile.inc
14index 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--
271.7.9.5
28
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index f8fd39042d..1337da9a9b 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -10,6 +10,7 @@ PV = "1.3.0+git${SRCPV}"
10 10
11SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \ 11SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git;branch=1.3_mars_bugfix \
12 file://fix_ranlib.patch \ 12 file://fix_ranlib.patch \
13 file://ldflags.patch \
13 file://tcf-agent.init \ 14 file://tcf-agent.init \
14 file://tcf-agent.service \ 15 file://tcf-agent.service \
15 " 16 "