diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch new file mode 100644 index 0000000000..b6c09ccf19 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0003-configure-widen-the-regexp-for-SH-architectures.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From e5a806aae02a10290c71deb72f6294c98068368d Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 2 Mar 2015 01:07:33 +0000 | ||
4 | Subject: [PATCH 03/15] configure: widen the regexp for SH architectures | ||
5 | |||
6 | gprof needs to know about uclibc | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | configure | 2 +- | ||
13 | gprof/configure | 5 +++++ | ||
14 | 2 files changed, 6 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure b/configure | ||
17 | index be9dd89d9b..d8af155ab5 100755 | ||
18 | --- a/configure | ||
19 | +++ b/configure | ||
20 | @@ -3844,7 +3844,7 @@ case "${target}" in | ||
21 | or1k*-*-*) | ||
22 | noconfigdirs="$noconfigdirs gdb" | ||
23 | ;; | ||
24 | - sh-*-*) | ||
25 | + sh*-*-* | sh64-*-*) | ||
26 | case "${target}" in | ||
27 | sh*-*-elf) | ||
28 | ;; | ||
29 | diff --git a/gprof/configure b/gprof/configure | ||
30 | index e71fe8b9e4..679e0dce77 100755 | ||
31 | --- a/gprof/configure | ||
32 | +++ b/gprof/configure | ||
33 | @@ -5874,6 +5874,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) | ||
34 | lt_cv_deplibs_check_method=pass_all | ||
35 | ;; | ||
36 | |||
37 | +linux-uclibc*) | ||
38 | + lt_cv_deplibs_check_method=pass_all | ||
39 | + lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so` | ||
40 | + ;; | ||
41 | + | ||
42 | netbsd*) | ||
43 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | ||
44 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | ||
45 | -- | ||
46 | 2.14.0 | ||
47 | |||