blob: 090ed5c1c9ed76a744e3e85808d783f4e303cc59 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From 08ba909500412611953aea0fa2fe0d8fe76b6e24 Mon Sep 17 00:00:00 2001
Patrick Williamsc0f7c042017-02-23 20:41:17 -06002From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 21 Sep 2016 21:14:40 +0200
4Subject: [PATCH] detect gold as GNU linker too
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Pending
10
11Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com>
Andrew Geissler517393d2023-01-13 08:55:19 -060012
Patrick Williamsc0f7c042017-02-23 20:41:17 -060013---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.ac b/configure.ac
Andrew Geissler517393d2023-01-13 08:55:19 -060018index 468c718..cd93f30 100644
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019--- a/configure.ac
20+++ b/configure.ac
21@@ -28,7 +28,7 @@ AC_CHECK_SIZEOF([void *])
22 AC_MSG_CHECKING([for GNU ld])
Andrew Geissler517393d2023-01-13 08:55:19 -060023 LD=$($CC -print-prog-name=ld 2>&5)
Patrick Williamsc0f7c042017-02-23 20:41:17 -060024
Andrew Geissler517393d2023-01-13 08:55:19 -060025-if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0; then
26+if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ") = 0; then
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027 # Not
28 GNU_LD=""
29 AC_MSG_RESULT([no])