summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch')
-rw-r--r--meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch b/meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch
new file mode 100644
index 0000000000..eddb42b4e3
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0003-gprof-add-uclibc-support-to-configure.patch
@@ -0,0 +1,31 @@
1From 7893d2b24d0303bda3a0049846489619ffd1387b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 01:07:33 +0000
4Subject: [PATCH 03/15] gprof: add uclibc support to configure
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 gprof/configure | 5 +++++
11 1 file changed, 5 insertions(+)
12
13diff --git a/gprof/configure b/gprof/configure
14index 9e6b8f3525..38a4c0b0e5 100755
15--- a/gprof/configure
16+++ b/gprof/configure
17@@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
18 lt_cv_deplibs_check_method=pass_all
19 ;;
20
21+linux-uclibc*)
22+ lt_cv_deplibs_check_method=pass_all
23+ lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
24+ ;;
25+
26 netbsd*)
27 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
28 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
29--
302.12.0
31