diff options
author | grr <grr@cvs.openbsd.org> | 1997-06-03 21:32:57 +0000 |
---|---|---|
committer | grr <grr@cvs.openbsd.org> | 1997-06-03 21:32:57 +0000 |
commit | eab63888ae6d5cecfcbaae624463a103826fb2bf (patch) | |
tree | c598db2456acf4d42a045c0aa55f44bcd50f5588 /gnu/usr.bin | |
parent | b4c2bb57225630c26179d5a1764afc0da78a4737 (diff) |
Build gzip with "DYN_ALLOC" set for architectures other than the ones that
use the assembly language match routine. This makes g*zip malloc its big
buffers and saves about 300KB of bss allocation when used in instbin and
is otherwise harmless. The assembly routines could be tweaked to work
this way too, but it would require a bit of head-scratching to find a free
register for working with a pointer rather than an offset.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gzip/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/gzip/Makefile b/gnu/usr.bin/gzip/Makefile index c593e2ea75b..8335485a825 100644 --- a/gnu/usr.bin/gzip/Makefile +++ b/gnu/usr.bin/gzip/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 1997/04/27 20:55:56 millert Exp $ +# $OpenBSD: Makefile,v 1.8 1997/06/03 21:32:56 grr Exp $ # $NetBSD: Makefile,v 1.17 1995/10/24 22:18:34 jtc Exp $ PROG= gzip @@ -10,6 +10,8 @@ CFLAGS+=-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 .if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "i386") SRCS+= match.S CFLAGS+=-DASMV +.else +CFLAGS+=-DDYN_ALLOC .endif CLEANFILES+= gzip.info |