pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/binutils binutils: don't use hard-coded -ldl in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/febdc44682e6
branches:  trunk
changeset: 443515:febdc44682e6
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Mon Dec 14 16:19:59 2020 +0000

description:
binutils: don't use hard-coded -ldl in the gold test suite.

diffstat:

 devel/binutils/distinfo                                 |   3 ++-
 devel/binutils/patches/patch-gold_testsuite_Makefile.in |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 12c3d88a526b -r febdc44682e6 devel/binutils/distinfo
--- a/devel/binutils/distinfo   Mon Dec 14 15:17:11 2020 +0000
+++ b/devel/binutils/distinfo   Mon Dec 14 16:19:59 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2020/12/13 15:42:31 fcambus Exp $
+$NetBSD: distinfo,v 1.37 2020/12/14 16:19:59 fcambus Exp $
 
 SHA1 (binutils-2.35.1.tar.bz2) = df4eb943bf65df4bbbd0a001efcc98113423c5dd
 RMD160 (binutils-2.35.1.tar.bz2) = ed8ad923db716388b83b0234d41abc6beb01c9d6
@@ -8,4 +8,5 @@
 SHA1 (patch-gold_Makefile.in) = e01d973f9625a1653851f796c123efec37102fbd
 SHA1 (patch-gold_options.h) = cdb27cb5c967a873535ce5c63026c6ace3538fd6
 SHA1 (patch-gold_system.h) = 9b4130b5315763daa66e0a91a8be6d1df0d10344
+SHA1 (patch-gold_testsuite_Makefile.in) = 4babdbb89a989f3f1de66ad44a9603cbd9656f89
 SHA1 (patch-include_safe-ctype.h) = 66e636f8200ff5e9b4bfa0a5aee13cd072a23887
diff -r 12c3d88a526b -r febdc44682e6 devel/binutils/patches/patch-gold_testsuite_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/binutils/patches/patch-gold_testsuite_Makefile.in   Mon Dec 14 16:19:59 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-gold_testsuite_Makefile.in,v 1.1 2020/12/14 16:19:59 fcambus Exp $
+
+Don't use hard-coded -ldl.
+
+--- gold/testsuite/Makefile.in.orig    2020-07-24 09:23:46.000000000 +0000
++++ gold/testsuite/Makefile.in
+@@ -2794,7 +2794,7 @@ TEST_STRIP = $(top_builddir)/../binutils
+ TEST_AR = $(top_builddir)/../binutils/ar
+ TEST_NM = $(top_builddir)/../binutils/nm-new
+ TEST_AS = $(top_builddir)/../gas/as-new
+-@PLUGINS_TRUE@LIBDL = -ldl
++@PLUGINS_TRUE@LIBDL = ${DL_LDFLAGS}
+ @THREADS_TRUE@THREADFLAGS = @PTHREAD_CFLAGS@
+ @THREADS_TRUE@THREADLIBS = @PTHREAD_LIBS@
+ @OMP_SUPPORT_TRUE@TLS_TEST_C_CFLAGS = -fopenmp



Home | Main Index | Thread Index | Old Index