Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/binutils add -lz for the static platforms.



details:   https://anonhg.NetBSD.org/src/rev/d201cfdc7dee
branches:  trunk
changeset: 748280:d201cfdc7dee
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Oct 19 02:31:26 2009 +0000

description:
add -lz for the static platforms.

diffstat:

 external/gpl3/binutils/usr.bin/Makefile.inc  |  4 +++-
 external/gpl3/binutils/usr.sbin/Makefile.inc |  5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r e26e1fda6696 -r d201cfdc7dee external/gpl3/binutils/usr.bin/Makefile.inc
--- a/external/gpl3/binutils/usr.bin/Makefile.inc       Mon Oct 19 01:25:29 2009 +0000
+++ b/external/gpl3/binutils/usr.bin/Makefile.inc       Mon Oct 19 02:31:26 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/08/18 20:22:07 skrll Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2009/10/19 02:31:26 christos Exp $
 
 BINDIR?=       /usr/bin
 
@@ -13,5 +13,7 @@
                -I${TOP}/${BFDSUBDIR}/libbfd/arch/${MACHINE_ARCH} \
                -I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
                -DLOCALEDIR=\"${LOCALEDIR}\"
+LDADD+=-lz
+DPADD+=${LIBZ}
 
 .endif # __MAKEFILE_INC_INCLUDED__
diff -r e26e1fda6696 -r d201cfdc7dee external/gpl3/binutils/usr.sbin/Makefile.inc
--- a/external/gpl3/binutils/usr.sbin/Makefile.inc      Mon Oct 19 01:25:29 2009 +0000
+++ b/external/gpl3/binutils/usr.sbin/Makefile.inc      Mon Oct 19 02:31:26 2009 +0000
@@ -1,4 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/08/18 20:22:20 skrll Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2009/10/19 02:31:26 christos Exp $
 
 BINDIR?=       /usr/sbin
 WARNS?=                1
+
+LDADD+=-lz
+DPADD+=${LIBZ}



Home | Main Index | Thread Index | Old Index