Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/x_gzip Add -DNO_PACK_SUPPORT and -DNO_XZ_SUPPO...



details:   https://anonhg.NetBSD.org/src/rev/d3f9f16cc73c
branches:  trunk
changeset: 766219:d3f9f16cc73c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jun 19 01:25:35 2011 +0000

description:
Add -DNO_PACK_SUPPORT and -DNO_XZ_SUPPORT to CPPFLAGS to omit
extra algorithm not used in installer.

XXX: should we use positive options in usr.bin/gzip/Makefile?

diffstat:

 distrib/utils/x_gzip/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 83345f58f636 -r d3f9f16cc73c distrib/utils/x_gzip/Makefile
--- a/distrib/utils/x_gzip/Makefile     Sun Jun 19 01:20:19 2011 +0000
+++ b/distrib/utils/x_gzip/Makefile     Sun Jun 19 01:25:35 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2004/03/28 04:10:43 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2011/06/19 01:25:35 tsutsui Exp $
 # Build a tiny limited gzip (i.e. for tiny boot media)
 
 SRCDIR=         ${.CURDIR}/../../../usr.bin/gzip
@@ -6,7 +6,11 @@
 PROG=          gzip
 NOMAN=         # defined
 
-CPPFLAGS+=     -DSMALL -DNO_BZIP2_SUPPORT -DNO_COMPRESS_SUPPORT
+CPPFLAGS+=     -DSMALL
+CPPFLAGS+=     -DNO_BZIP2_SUPPORT
+CPPFLAGS+=     -DNO_COMPRESS_SUPPORT
+CPPFLAGS+=     -DNO_PACK_SUPPORT
+CPPFLAGS+=     -DNO_XZ_SUPPORT
 
 DPADD=         ${LIBZ}
 LDADD=         -lz



Home | Main Index | Thread Index | Old Index