summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "