inet: do not link against libc

This should make its printed errors show up again.

Change-Id: I6839a584dc2a544bae7973ded3ab1dacf04e4ec0
This commit is contained in:
David van Moolenbroek 2015-06-06 11:51:39 +00:00
parent dfc3261535
commit 690dc6bb6c
3 changed files with 4 additions and 5 deletions

View File

@ -211,7 +211,7 @@ CPPFLAGS.tolower_.c+= -I${LIBCDIR}/locale
CPPFLAGS.toupper_.c+= -I${LIBCDIR}/locale
.for f in \
waitpid.o read_tsc_64.o fslib.o itoa.o
waitpid.o read_tsc_64.o fslib.o itoa.o oneC_sum.o
${f} ${f:C/\.o/.bc/}: ${LIBMINIXCDIR}/gen/${f:C/\.o/.c/}
OBJS+= ${f}
CLEANFILES+= ${f}

View File

@ -24,7 +24,9 @@ OBJS+= ${f}
CLEANFILES+= ${f}
.endfor
CPPFLAGS.byte_swap_4.S+= -D_STANDALONE
# 20150607 dcvmoole: commented out as this causes inet to fail linking on a
# missing __bswap32 symbol
#CPPFLAGS.byte_swap_4.S+= -D_STANDALONE
.for f in \
__aeabi_idiv0.o __aeabi_ldiv0.o

View File

@ -19,9 +19,6 @@ NOCLANGERROR=yes
DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
LDADD+= -lchardriver -lsys
DPADD+= ${LIBC}
LDADD+= -lc
CPPFLAGS+= -I${.CURDIR} -D'ARGS(a)=a'
.include <minix.service.mk>