If the object format is ELF, build match.S with -DNO_UNDERLINE.
This commit is contained in:
parent
fe2f7c1f64
commit
435e3187c6
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 1998/09/01 03:16:49 enami Exp $
|
||||
# $NetBSD: Makefile,v 1.23 1999/01/22 22:18:28 thorpej Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -11,8 +11,13 @@ CPPFLAGS+=-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -Dunix
|
|||
.if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386")
|
||||
SRCS+= match.S
|
||||
CPPFLAGS+=-DASMV
|
||||
|
||||
if (${OBJECT_FMT} == "ELF")
|
||||
CPPFLAGS+=-DNO_UNDERLINE
|
||||
.endif
|
||||
|
||||
.endif # m68k || i386
|
||||
|
||||
LDSTATIC?= -static
|
||||
LDADD+= -lgnumalloc
|
||||
DPADD+= ${LIBGNUMALLOC}
|
||||
|
|
Loading…
Reference in New Issue