diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:47:06 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2003-04-17 03:47:06 +0000 |
commit | 5310346d0e6069022eace1f0ae09c2f2710f3ffc (patch) | |
tree | 92d55a13d86a45456de36c714faa433a5fafa97d /gnu/usr.bin | |
parent | 947f64b4d9f811dc085475f610c24dfe35243518 (diff) |
Underlying code supported 'ELF' symbols, however '-DNO_UNDERLINE' has
to be passed to cpp when processing the .S files.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gzip/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile index 5c4bb660882..f31f5a2685c 100644 --- a/gnu/usr.bin/gzip/Makefile +++ b/gnu/usr.bin/gzip/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2002/12/09 23:46:38 millert Exp $ +# $OpenBSD: Makefile,v 1.14 2003/04/17 03:47:05 drahn Exp $ # $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $ PROG= gzip @@ -13,6 +13,9 @@ CFLAGS+=-DASMV .else CFLAGS+=-DDYN_ALLOC .endif +.if (${MACHINE_ARCH} == "i386") +UNDERLINE=-DNO_UNDERLINE +.endif CLEANFILES+= gzip.info @@ -48,7 +51,7 @@ afterinstall: .if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386") match.o: ${.CURDIR}/match.S - $(CPP) -D__OpenBSD__ -D${MACHINE_ARCH} ${.CURDIR}/match.S >_match.s + $(CPP) -D__OpenBSD__ ${UNDERLINE} -D${MACHINE_ARCH} ${.CURDIR}/match.S >_match.s $(CC) -c _match.s mv _match.o match.o rm -f _match.s |