summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-08-17 08:40:49 +0000
committergordon <gordon@FreeBSD.org>2003-08-17 08:40:49 +0000
commitd2464b0086c5a0ecf127b5a3714d0adbcf7d8496 (patch)
tree2f80eceeecbd308acfbf7c47146e5a6344a0043b
parentb9d102ab04d00715a3b74297e70a230768bdf504 (diff)
downloadFreeBSD-src-d2464b0086c5a0ecf127b5a3714d0adbcf7d8496.zip
FreeBSD-src-d2464b0086c5a0ecf127b5a3714d0adbcf7d8496.tar.gz
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.
-rw-r--r--sbin/devd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index 7ffa6da..8e1122e 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
OpenPOWER on IntegriCloud