summaryrefslogtreecommitdiff
path: root/dev-libs/newt/files/newt-0.52.22-gold.patch
blob: add9ce872dfdd2df78e22bc1b23cc38e0dd3298c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ur a/configure.ac b/configure.ac
--- a/configure.ac	2022-11-21 07:58:11.000000000 -0600
+++ b/configure.ac	2022-11-21 20:56:42.211913050 -0600
@@ -24,7 +24,8 @@
 AC_MSG_CHECKING([for GNU ld])
 LD=$($CC -print-prog-name=ld 2>&5)
 
-if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0; then
+if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0 -a \
+   test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU gold") = 0; then
   # Not
   GNU_LD=""
   AC_MSG_RESULT([no])