Source-Changes-HG archive

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

[src/trunk]: src/distrib/sun2/miniroot Drop wide char support to save space



details:   https://anonhg.NetBSD.org/src/rev/6cd0465e10cd
branches:  trunk
changeset: 959929:6cd0465e10cd
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 01 09:24:27 2021 +0000

description:
Drop wide char support to save space

diffstat:

 distrib/sun2/miniroot/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r a17f3e11bf48 -r 6cd0465e10cd distrib/sun2/miniroot/Makefile
--- a/distrib/sun2/miniroot/Makefile    Mon Mar 01 04:50:17 2021 +0000
+++ b/distrib/sun2/miniroot/Makefile    Mon Mar 01 09:24:27 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.38 2019/12/29 18:26:18 christos Exp $
+#      $NetBSD: Makefile,v 1.39 2021/03/01 09:24:27 martin Exp $
 
 .include <bsd.own.mk>
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -13,6 +13,7 @@
 
 WARNS=         1
 DBG=           -Os -fno-unwind-tables
+USE_WIDECHAR=  no
 
 CRUNCHBIN=     instbin
 
@@ -45,6 +46,13 @@
 
 # Use stubs to eliminate some large stuff from libc
 HACKSRC=       ${DISTRIBDIR}/utils/libhack
+HACK_CURSES=   yes
+.MAKEFLAGS+=   USE_WIDECHAR=no
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
 .include       "${HACKSRC}/Makefile.inc"
 ${CRUNCHBIN}:  libhack.o
 



Home | Main Index | Thread Index | Old Index