mk: single mk fragment for new libc

. allow commands to use it by setting NEED_NBSDLIBC
	. also add mkfiles to clean and cleandepend so they
	  don't break on missing new mkfiles
This commit is contained in:
Ben Gras
2011-07-27 18:01:44 +02:00
parent 3ca141ab81
commit f614d0015a
6 changed files with 17 additions and 10 deletions

View File

@@ -1,6 +1,4 @@
# Requires clang/gcc for NetBSD libc
CC:=${CC:C/^cc/clang/}
COMPILER_TYPE:= gnu
.include <minix.newlibc.mk>
CPPFLAGS+= -D_NETBSD_SOURCE -D__NBSD_LIBC=1