Oops, fix the NO_UNDERLINE CPP hack.
This commit is contained in:
parent
8e7fba1cf0
commit
0febb464c7
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.25 1999/01/31 14:33:33 kim Exp $
|
||||
# $NetBSD: Makefile,v 1.26 1999/02/02 02:04:40 thorpej Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -11,9 +11,10 @@ CPPFLAGS+=-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -Dunix
|
||||
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
|
||||
SRCS+= match.S
|
||||
CPPFLAGS+=-DASMV
|
||||
MATCHCPPFLAGS=-D__NetBSD__
|
||||
|
||||
.if (${OBJECT_FMT} == "ELF")
|
||||
CPPFLAGS+=-DNO_UNDERLINE
|
||||
MATCHCPPFLAGS+=-DNO_UNDERLINE
|
||||
.endif
|
||||
|
||||
.endif # m68k || i386
|
||||
@ -39,7 +40,7 @@ FILESMODE=${BINMODE}
|
||||
|
||||
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
|
||||
match.o: ${.CURDIR}/match.S
|
||||
$(CPP) -D__NetBSD__ ${.CURDIR}/match.S >_match.s
|
||||
$(CPP) ${MATCHCPPFLAGS} ${.CURDIR}/match.S >_match.s
|
||||
$(CC) -c _match.s
|
||||
mv _match.o match.o
|
||||
rm -f _match.s
|
||||
|
Loading…
Reference in New Issue
Block a user