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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user