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
|
||||
|
||||
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
||||
AFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${ARCH}/include -I${MINIXSRCDIR}
|
||||
|
||||
INSTALLFLAGS+= -S 0
|
||||
BINDIR= /usr/sbin
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
.if defined(NBSD_LIBC) && (${NBSD_LIBC} == "yes")
|
||||
CPPFLAGS+= -D_MINIX -D_NETBSD_SOURCE
|
||||
AFLAGS+= -D_MINIX
|
||||
.else
|
||||
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
||||
AFLAGS+= -D_MINIX -D_POSIX_SOURCE
|
||||
.endif
|
||||
|
|
|
@ -10,8 +10,7 @@ SMP_FLAGS += -DCONFIG_MAX_CPUS=${CONFIG_MAX_CPUS}
|
|||
.endif
|
||||
.endif
|
||||
|
||||
CFLAGS += ${SMP_FLAGS}
|
||||
AFLAGS += ${SMP_FLAGS}
|
||||
CPPFLAGS+= ${SMP_FLAGS}
|
||||
|
||||
MAKECONF?= /etc/make.conf
|
||||
.-include "${MAKECONF}"
|
||||
|
|
|
@ -12,7 +12,7 @@ CPPFLAGS+= -wo
|
|||
|
||||
ASMCONV=gas2ack
|
||||
AFLAGS+=-D__ASSEMBLY__ -w -wo
|
||||
CPP.s=${CC} -E ${AFLAGS}
|
||||
CPP.s=${CC} -E ${AFLAGS} ${CPPFLAGS}
|
||||
ASMCONVFLAGS+=-mi386
|
||||
|
||||
# Need to convert ACK assembly files to GNU assembly before building
|
||||
|
|
Loading…
Reference in a new issue