From ee0cc364a8b12aabdaab3afa5aebaa2a1816f104 Mon Sep 17 00:00:00 2001 From: Tomas Hruby Date: Wed, 6 Feb 2013 16:11:03 +0000 Subject: [PATCH] core is not cleaned in libraries - according to Lionel, no such files are generated - it conflicts with the core subdirectory in liblwip --- share/mk/bsd.lib.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 622b7a916..2e329665f 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -640,7 +640,11 @@ libclean2: .PHONY .MADE __cleanuse LIBCLEANFILES2 libclean3: .PHONY .MADE __cleanuse LIBCLEANFILES3 libclean4: .PHONY .MADE __cleanuse LIBCLEANFILES4 libclean5: .PHONY .MADE __cleanuse LIBCLEANFILES5 -CLEANFILES+= a.out [Ee]rrs mklog core *.core +CLEANFILES+= a.out [Ee]rrs mklog *.core +# core conflicts with core/ in lib/liblwip +.if !defined(__MINIX) +CLEANFILES+=core +.endif LIBCLEANFILES1+= lib${LIB}.a ${STOBJS} ${STOBJS:=.tmp} LIBCLEANFILES2+= lib${LIB}_p.a ${POBJS} ${POBJS:=.tmp} LIBCLEANFILES3+= lib${LIB}_g.a ${GOBJS} ${GOBJS:=.tmp} -- 2.44.0