hide block_t behind _MINIX (for gcc)

This commit is contained in:
Ben Gras
2012-08-24 17:54:07 +02:00
parent 201031fb38
commit 41ab295654
5 changed files with 8 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ LDADD+= -ltimers -lsys -lexec
CFLAGS += -D__kernel__
CPPFLAGS+= -fno-stack-protector -D_NETBSD_SOURCE
CPPFLAGS+= -fno-stack-protector -D_NETBSD_SOURCE -D_MINIX
LDFLAGS+= -T $(LINKERSCRIPT)
LDFLAGS+= -nostdlib -L${DESTDIR}/${LIBDIR}
LDADD+= -lminlib