This should make its printed errors show up again.
Change-Id: I6839a584dc2a544bae7973ded3ab1dacf04e4ec0
#undef bswap64
-#if defined(__minix) && defined(_STANDALONE)
-#undef bswap32
-#endif /* defined(__minix) && defined(_STANDALONE) */
-
uint64_t
bswap64(uint64_t x)
{
#include "namespace.h"
#include <string.h>
+#if defined(__minix) && defined(_LIBMINC)
+#include <stdint.h> /* for uintptr_t */
+#endif /* defined(__minix) && defined(_LIBMINC) */
+
#endif
#include <sys/types.h>
.endif # ${USE_BITCODE:Uno} == "yes"
.endfor
-CPPFLAGS.bswap64.c+= -D_STANDALONE
CPPFLAGS.rb.c+= -D_LIBC
.for f in \
.endif # ${USE_BITCODE:Uno} == "yes"
.endfor
-CPPFLAGS.sha2.c+= -D_STANDALONE
CPPFLAGS.sha2.c+= -I${NETBSDSRCDIR}/sys
.for f in \
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}
CLEANFILES+= ${f}
.endfor
-CPPFLAGS.byte_swap_4.S+= -D_STANDALONE
-
.for f in \
__aeabi_idiv0.o __aeabi_ldiv0.o
${f}: ${LIBCOMMONCARCHDIR}/gen/${f:C/\.o/.c/}
.endif # ${USE_BITCODE:Uno} == "yes"
.endfor
-CPPFLAGS.byte_swap_4.S+= -D_STANDALONE
-
.for f in \
memchr.o memcmp.o memcpy.o memmove.o memset.o \
strcat.o strchr.o strcmp.o strcpy.o strlen.o \
DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
LDADD+= -lchardriver -lsys
-DPADD+= ${LIBC}
-LDADD+= -lc
-
CPPFLAGS+= -I${.CURDIR} -D'ARGS(a)=a'
.include <minix.service.mk>