From 9a4e73fe5ea6f6fe518de8cb3d23cf6e397c8896 Mon Sep 17 00:00:00 2001 From: Gordon Tetlow Date: Sun, 17 Aug 2003 08:40:49 +0000 Subject: [PATCH] At imp's request, force devd to be statically compiled. This avoids the need for libstdc++ in /lib, and the generated binary is actually smaller statically linked than dynamically + sizeof(libstdc++). Additionally, devd doesn't use get*by*() which is one of the main motivations for dynamically linking your root partition anyway. --- sbin/devd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile index 7ffa6dabd165..8e1122eaf3cb 100644 --- a/sbin/devd/Makefile +++ b/sbin/devd/Makefile @@ -5,6 +5,8 @@ SRCS= devd.cc token.l parse.y y.tab.h MAN= devd.8 devd.conf.5 WARNS?= 1 +NOSHARED?=YES + DPADD= ${LIBL} LDADD= -ll