Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/stand/mkbootimage Don't depend on libz.a fo...
details: https://anonhg.NetBSD.org/src/rev/9eea41eaa7e9
branches: trunk
changeset: 787856:9eea41eaa7e9
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 09 13:10:55 2013 +0000
description:
Don't depend on libz.a for the tools build, /usr/lib/libz.a might not
exist.
diffstat:
sys/arch/powerpc/stand/mkbootimage/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 6d74f675bd7e -r 9eea41eaa7e9 sys/arch/powerpc/stand/mkbootimage/Makefile
--- a/sys/arch/powerpc/stand/mkbootimage/Makefile Tue Jul 09 13:10:33 2013 +0000
+++ b/sys/arch/powerpc/stand/mkbootimage/Makefile Tue Jul 09 13:10:55 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/01/26 21:35:14 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2013/07/09 13:10:55 joerg Exp $
BINDIR= /usr/mdec
PROG= mkbootimage
@@ -15,7 +15,9 @@
CPPFLAGS= -I${LIBSA} -I${.CURDIR} -I${BFDTOP}/include
CPPFLAGS+= -DATTRIBUTE_PACKED=
+.if !defined(HOSTPROGNAME)
DPADD+= ${LIBZ}
+.endif
LDADD+= -lz
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index