From 92c825d6bbff0f6095f4512728e9f9273f4e1712 Mon Sep 17 00:00:00 2001 From: zrj Date: Tue, 14 Nov 2017 21:25:48 +0200 Subject: [PATCH] btools: Strip host lib deps for bin/cpdup. Disable last libmd.a user in btools. MD5 functionality (cpdup -m) for buildworld is redundant. --- bin/cpdup/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/cpdup/Makefile b/bin/cpdup/Makefile index 0e288b07e4..f0ea8bc1b0 100644 --- a/bin/cpdup/Makefile +++ b/bin/cpdup/Makefile @@ -6,6 +6,10 @@ CFLAGS += -D_ST_FLAGS_PRESENT_=1 WARNS?= 6 .endif +.if defined(BOOTSTRAPPING) +# For boostrapping buildworld the md5 functionality is not needed +CFLAGS+=-DNOMD5 +.else .if !defined(NOMD5) SRCS+= md5.c .endif @@ -15,6 +19,7 @@ CFLAGS+= -I${_SHLIBDIRPREFIX}/usr/include/priv LDADD+= -lmd DPADD+= ${LIBMD} +.endif .include -- 2.11.4.GIT