Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 4c6fd8f5eb9bc7c0d02f1a98ad86e395d4d2ab3b Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 17 | index 08dd35c3ea..815e74ddb7 100755 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 18 | --- a/configure |
| 19 | +++ b/configure |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | @@ -3855,7 +3855,7 @@ case "${target}" in |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 21 | nvptx*-*-*) |
| 22 | noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 23 | ;; |
| 24 | - sh-*-*) |
| 25 | + sh*-*-* | sh64-*-*) |
| 26 | case "${target}" in |
| 27 | sh*-*-elf) |
| 28 | ;; |
| 29 | diff --git a/gprof/configure b/gprof/configure |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 30 | index 447cea7884..a730e20509 100755 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | --- a/gprof/configure |
| 32 | +++ b/gprof/configure |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 33 | @@ -6162,6 +6162,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 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 | -- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 46 | 2.18.0 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 47 | |