diff options
author | 2003-04-17 03:47:05 +0000 | |
---|---|---|
committer | 2003-04-17 03:47:05 +0000 | |
commit | c18424db0dbdfb1fe9cac936d8bc8c74675e139d (patch) | |
tree | 2699f63b6cf7514203a3043a1fa3a87af95687a6 | |
parent | Change gcc to generate ELF code for i386. (diff) | |
download | wireguard-openbsd-c18424db0dbdfb1fe9cac936d8bc8c74675e139d.tar.xz wireguard-openbsd-c18424db0dbdfb1fe9cac936d8bc8c74675e139d.zip |
Underlying code supported 'ELF' symbols, however '-DNO_UNDERLINE' has
to be passed to cpp when processing the .S files.
-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 |