On 2016 Sep 17 (Sat) at 04:50:29 -0600 (-0600), Theo de Raadt wrote: :> route(8) for the ramdisks is not built with SMALL, so adding SMALL :> won't help. : :Then you'll help it. By compiling them SMALL.
Happilly. Tested on an amd64 bsd.rd. dhclient, route add, route del, route show, all still work, and it's slightly smaller. text data bss dec hex 213397 8896 36896 259189 3f475 obj/route 212677 8896 36896 258469 3f1a5 obj/route-SMALL OK? Index: distrib/special/route/Makefile =================================================================== RCS file: /cvs/openbsd/src/distrib/special/route/Makefile,v retrieving revision 1.1 diff -u -p -u -p -r1.1 Makefile --- distrib/special/route/Makefile 23 Dec 2014 17:16:03 -0000 1.1 +++ distrib/special/route/Makefile 17 Sep 2016 11:09:59 -0000 @@ -4,7 +4,7 @@ PROG= route MAN= route.8 SRCS= route.c show.c -CFLAGS+= -Wall +CFLAGS+= -Wall -DSMALL route.o .depend lint tags: keywords.h
