Module Name: src
Committed By: martin
Date: Mon Mar 1 09:24:27 UTC 2021
Modified Files:
src/distrib/sun2/miniroot: Makefile
Log Message:
Drop wide char support to save space
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/distrib/sun2/miniroot/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sun2/miniroot/Makefile
diff -u src/distrib/sun2/miniroot/Makefile:1.38 src/distrib/sun2/miniroot/Makefile:1.39
--- src/distrib/sun2/miniroot/Makefile:1.38 Sun Dec 29 18:26:18 2019
+++ src/distrib/sun2/miniroot/Makefile Mon Mar 1 09:24:27 2021
@@ -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 @@ KERNEL= ${KERNOBJDIR}/INSTALL/netbsd
WARNS= 1
DBG= -Os -fno-unwind-tables
+USE_WIDECHAR= no
CRUNCHBIN= instbin
@@ -45,6 +46,13 @@ IMAGE_RELEASEDIR= installation/miniroot
# 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