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:
@@ -1,7 +1,4 @@
|
||||
# Requires NBSD_LIBC and clang/gcc (we default to using clang)
|
||||
NBSD_LIBC:= yes
|
||||
CC:=${CC:C/^cc/clang/}
|
||||
COMPILER_TYPE:= gnu
|
||||
.include <minix.newlibc.mk>
|
||||
|
||||
CPPFLAGS+= -D_NETBSD_SOURCE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user