diff options
Diffstat (limited to 'meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch')
-rw-r--r-- | meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch b/meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch index a4b3afd959..090ed5c1c9 100644 --- a/meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch +++ b/meta/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 58245b859ffbcb1780575bf1b0a018d55e74e434 Mon Sep 17 00:00:00 2001 | 1 | From 08ba909500412611953aea0fa2fe0d8fe76b6e24 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> |
3 | Date: Wed, 21 Sep 2016 21:14:40 +0200 | 3 | Date: Wed, 21 Sep 2016 21:14:40 +0200 |
4 | Subject: [PATCH] detect gold as GNU linker too | 4 | Subject: [PATCH] detect gold as GNU linker too |
@@ -9,23 +9,21 @@ Content-Transfer-Encoding: 8bit | |||
9 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
10 | 10 | ||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | 11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> |
12 | |||
12 | --- | 13 | --- |
13 | configure.ac | 2 +- | 14 | configure.ac | 2 +- |
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 16 | ||
16 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
17 | index 03e8bda..c2fce51 100644 | 18 | index 468c718..cd93f30 100644 |
18 | --- a/configure.ac | 19 | --- a/configure.ac |
19 | +++ b/configure.ac | 20 | +++ b/configure.ac |
20 | @@ -28,7 +28,7 @@ AC_CHECK_SIZEOF([void *]) | 21 | @@ -28,7 +28,7 @@ AC_CHECK_SIZEOF([void *]) |
21 | AC_MSG_CHECKING([for GNU ld]) | 22 | AC_MSG_CHECKING([for GNU ld]) |
22 | LD=`$CC -print-prog-name=ld 2>&5` | 23 | LD=$($CC -print-prog-name=ld 2>&5) |
23 | 24 | ||
24 | -if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld"` = 0; then | 25 | -if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0; then |
25 | +if test `$LD -v 2>&1 | $ac_cv_path_GREP -c "GNU "` = 0; then | 26 | +if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ") = 0; then |
26 | # Not | 27 | # Not |
27 | GNU_LD="" | 28 | GNU_LD="" |
28 | AC_MSG_RESULT([no]) | 29 | AC_MSG_RESULT([no]) |
29 | -- | ||
30 | 2.5.5 | ||
31 | |||