summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent/ldflags.patch28
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 @@
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