diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-01-28 23:45:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-01-28 23:45:53 +0000 |
commit | 5dd9cda68121dbb60c5734ef0d89ba0eaf66c58a (patch) | |
tree | 3d14d09c5d5908352b6dc602cf9cb520a3e58b96 /gnu/usr.bin/gzip | |
parent | a60bf251c6143b31465e4a36199d67d12dc134e4 (diff) |
Ensure i386 or m68k is defined (posixly-correct gcc will only define
__i386 or __m68k)
Diffstat (limited to 'gnu/usr.bin/gzip')
-rw-r--r-- | gnu/usr.bin/gzip/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile index 17ef2c4bb5a..d55b9549fbf 100644 --- a/gnu/usr.bin/gzip/Makefile +++ b/gnu/usr.bin/gzip/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 1997/07/06 21:05:10 mickey Exp $ +# $OpenBSD: Makefile,v 1.10 1999/01/28 23:45:52 espie Exp $ # $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $ PROG= gzip @@ -9,7 +9,7 @@ CFLAGS+=-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 .if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386") SRCS+= match.S -CFLAGS+=-DASMV +CFLAGS+=-DASMV .else CFLAGS+=-DDYN_ALLOC .endif @@ -45,7 +45,7 @@ afterinstall: .if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386") match.o: ${.CURDIR}/match.S - $(CPP) -D__OpenBSD__ ${.CURDIR}/match.S >_match.s + $(CPP) -D__OpenBSD__ -D${MACHINE_ARCH} ${.CURDIR}/match.S >_match.s $(CC) -c _match.s mv _match.o match.o rm -f _match.s |