diff options
author | fcambus <fcambus@pkgsrc.org> | 2020-12-14 16:19:59 +0000 |
---|---|---|
committer | fcambus <fcambus@pkgsrc.org> | 2020-12-14 16:19:59 +0000 |
commit | 7ea78c078e7a3aaf70c76a3d6fa7b946dc0c3ac0 (patch) | |
tree | e0d45ee283851c00d9347d42dc3a7509ce747491 | |
parent | fd6610b51f20d6d7bd89666d7141cf9b241be5e2 (diff) | |
download | pkgsrc-7ea78c078e7a3aaf70c76a3d6fa7b946dc0c3ac0.tar.gz |
binutils: don't use hard-coded -ldl in the gold test suite.
-rw-r--r-- | devel/binutils/distinfo | 3 | ||||
-rw-r--r-- | devel/binutils/patches/patch-gold_testsuite_Makefile.in | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/binutils/distinfo b/devel/binutils/distinfo index ea043d40fcf..f788288072d 100644 --- a/devel/binutils/distinfo +++ b/devel/binutils/distinfo @@ -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-bfd_cache.c) = e2d96bad350552eacdffa83532f9dc9e15ee9be9 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 --git a/devel/binutils/patches/patch-gold_testsuite_Makefile.in b/devel/binutils/patches/patch-gold_testsuite_Makefile.in new file mode 100644 index 00000000000..ba73b9ccf28 --- /dev/null +++ b/devel/binutils/patches/patch-gold_testsuite_Makefile.in @@ -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 |