Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcp turn back to dynamic to reduce size.
details: https://anonhg.NetBSD.org/src/rev/b12fb1db20ce
branches: trunk
changeset: 805904:b12fb1db20ce
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 23 03:00:44 2015 +0000
description:
turn back to dynamic to reduce size.
diffstat:
external/bsd/dhcp/Makefile.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 5dcbde118dc7 -r b12fb1db20ce external/bsd/dhcp/Makefile.inc
--- a/external/bsd/dhcp/Makefile.inc Fri Jan 23 02:58:40 2015 +0000
+++ b/external/bsd/dhcp/Makefile.inc Fri Jan 23 03:00:44 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.12 2014/09/26 22:18:48 christos Exp $
+# $NetBSD: Makefile.inc,v 1.13 2015/01/23 03:00:44 christos Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual -Wsign-compare
@@ -49,6 +49,9 @@
LDADD+= -lcrypto -lipsec -lcrypt
DPADD+= ${LIBCRYPTO} ${LIBIPSEC} ${LIBCRYPT}
.endif
+.if defined(PROG) && ${PROG} == "dhclient"
+LDADD+=-Wl,-Bdynamic
+.endif
DPADD+= ${COBJDIR}/libdhcp.a
DPADD+= ${OMOBJDIR}/libomapi.a ${DSTOBJDIR}/libdst.a
DPADD+= ${LIBDNS} ${LIBISC}
Home |
Main Index |
Thread Index |
Old Index