0001-detect-gold-as-GNU-linker-too.patch 875 B

1234567891011121314151617181920212223242526272829
  1. From 08ba909500412611953aea0fa2fe0d8fe76b6e24 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
  3. Date: Wed, 21 Sep 2016 21:14:40 +0200
  4. Subject: [PATCH] detect gold as GNU linker too
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Upstream-Status: Pending
  9. Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
  10. ---
  11. configure.ac | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/configure.ac b/configure.ac
  14. index 468c718..cd93f30 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -28,7 +28,7 @@ AC_CHECK_SIZEOF([void *])
  18. AC_MSG_CHECKING([for GNU ld])
  19. LD=$($CC -print-prog-name=ld 2>&5)
  20. -if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0; then
  21. +if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ") = 0; then
  22. # Not
  23. GNU_LD=""
  24. AC_MSG_RESULT([no])