minix.ack.mk: use CPPFLAGS for ACK asm files
This commit is contained in:
parent
c484bc1dc8
commit
862fb8354d
4 changed files with 2 additions and 6 deletions
|
@ -35,7 +35,6 @@ DPADD+= ${LIBC}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
||||||
AFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
|
||||||
|
|
||||||
INSTALLFLAGS+= -S 0
|
INSTALLFLAGS+= -S 0
|
||||||
BINDIR= /usr/sbin
|
BINDIR= /usr/sbin
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
.if defined(NBSD_LIBC) && (${NBSD_LIBC} == "yes")
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} == "yes")
|
||||||
CPPFLAGS+= -D_MINIX -D_NETBSD_SOURCE
|
CPPFLAGS+= -D_MINIX -D_NETBSD_SOURCE
|
||||||
AFLAGS+= -D_MINIX
|
|
||||||
.else
|
.else
|
||||||
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
||||||
AFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -10,8 +10,7 @@ SMP_FLAGS += -DCONFIG_MAX_CPUS=${CONFIG_MAX_CPUS}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CFLAGS += ${SMP_FLAGS}
|
CPPFLAGS+= ${SMP_FLAGS}
|
||||||
AFLAGS += ${SMP_FLAGS}
|
|
||||||
|
|
||||||
MAKECONF?= /etc/make.conf
|
MAKECONF?= /etc/make.conf
|
||||||
.-include "${MAKECONF}"
|
.-include "${MAKECONF}"
|
||||||
|
|
|
@ -12,7 +12,7 @@ CPPFLAGS+= -wo
|
||||||
|
|
||||||
ASMCONV=gas2ack
|
ASMCONV=gas2ack
|
||||||
AFLAGS+=-D__ASSEMBLY__ -w -wo
|
AFLAGS+=-D__ASSEMBLY__ -w -wo
|
||||||
CPP.s=${CC} -E ${AFLAGS}
|
CPP.s=${CC} -E ${AFLAGS} ${CPPFLAGS}
|
||||||
ASMCONVFLAGS+=-mi386
|
ASMCONVFLAGS+=-mi386
|
||||||
|
|
||||||
# Need to convert ACK assembly files to GNU assembly before building
|
# Need to convert ACK assembly files to GNU assembly before building
|
||||||
|
|
Loading…
Reference in a new issue