summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/libpfm/files
diff options
context:
space:
mode:
authorNoor <noor_ahsan@mentor.com>2015-08-13 16:43:14 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-16 22:40:54 +0100
commit330340fe78006a6d7c8c9ff513acd61ec7c5fc24 (patch)
tree042b38ad7ffa4f3e510f30163f373e24b8b14337 /meta/recipes-kernel/libpfm/files
parente623c1098708ae1bffbc581bc7cda400b925337c (diff)
downloadpoky-330340fe78006a6d7c8c9ff513acd61ec7c5fc24.tar.gz
libpfm4: Fix GNU_HASH warning.
* Add a patch which updated add LDFLAGS variable to SLDFLAGS in Makefile. (From OE-Core rev: 6bf2743a967ede08d19f9ca1f72e36e806e92fb0) Signed-off-by: Noor Ahsan <noor_ahsan@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-kernel/libpfm/files')
-rw-r--r--meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch b/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
new file mode 100644
index 0000000000..be58706e3a
--- /dev/null
+++ b/meta/recipes-kernel/libpfm/files/0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch
@@ -0,0 +1,31 @@
1From 272a8a069a8f5f06a1e5dfa0ef12f5f92984728b Mon Sep 17 00:00:00 2001
2From: Noor <noor_ahsan@mentor.com>
3Date: Wed, 12 Aug 2015 20:54:00 +0500
4Subject: [PATCH] Makefile: Add LDFLAGS variable to SLDFLAGS.
5
6* Add LDFLAGS variable to SLDFLAGS so that extra linker
7 flags can be sent via this variable.
8
9Upstream status Sumbitted [perfmon2-libpfm4-commits@lists.sourceforge.net]
10
11Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
12---
13 lib/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/lib/Makefile b/lib/Makefile
17index 1cc8765..4bd92ef 100644
18--- a/lib/Makefile
19+++ b/lib/Makefile
20@@ -187,7 +187,7 @@ CFLAGS += -DCONFIG_PFMLIB_CELL
21 endif
22
23 ifeq ($(SYS),Linux)
24-SLDFLAGS=-shared -Wl,-soname -Wl,$(VLIBPFM)
25+SLDFLAGS=$(LDFLAGS) -shared -Wl,-soname -Wl,$(VLIBPFM)
26 SLIBPFM=libpfm.so.$(VERSION).$(REVISION).$(AGE)
27 VLIBPFM=libpfm.so.$(VERSION)
28 SOLIBEXT=so
29--
301.7.9.5
31