From 435e3187c61aba1c0d3a2ad6f12c40e369a4dfb2 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 22 Jan 1999 22:18:28 +0000 Subject: [PATCH] If the object format is ELF, build match.S with -DNO_UNDERLINE. --- gnu/usr.bin/gzip/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile index ee83ae32aeb2..56f45bb9705a 100644 --- a/gnu/usr.bin/gzip/Makefile +++ b/gnu/usr.bin/gzip/Makefile @@ -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 @@ -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}