a few DBG=-g build fixes, both arches

- setlogin() not available
	- softfloat needed in -lminc for arm
	- libminc: we have to set LIBCDIR for the included files,
	  so use that instead of LIBCSRCDIR

Change-Id: I7f92621ebbca9ce08dc377b3fa61dee089071757
This commit is contained in:
Ben Gras
2013-06-15 23:43:39 +00:00
parent 71ac8a3a8a
commit d1b3ab953e
5 changed files with 46 additions and 26 deletions

View File

@@ -1,10 +1,19 @@
# $NetBSD: Makefile.inc,v 1.10 2011/07/04 02:53:15 mrg Exp $
SOFTFLOAT_BITS?=64
.if defined(__MINIX)
.PATH: ${ARCHDIR}/softfloat \
${LIBCDIR}/softfloat/bits${SOFTFLOAT_BITS} ${LIBCDIR}/softfloat
.else
.PATH: ${ARCHDIR}/softfloat \
${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
.endif
.if defined(__MINIX)
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${LIBCDIR}/softfloat
.else
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
.endif
CPPFLAGS+= -DSOFTFLOAT_FOR_GCC
SRCS.softfloat= softfloat.c