aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:40:49 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2003-08-17 08:40:49 +0000
commit9a4e73fe5ea6f6fe518de8cb3d23cf6e397c8896 (patch)
tree2f80eceeecbd308acfbf7c47146e5a6344a0043b /sbin
parent442afd046f061ae77b9aee85361076428640754e (diff)
downloadsrc-9a4e73fe5ea6f6fe518de8cb3d23cf6e397c8896.tar.gz
src-9a4e73fe5ea6f6fe518de8cb3d23cf6e397c8896.zip
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.
Notes
Notes: svn path=/head/; revision=119019
Diffstat (limited to 'sbin')
-rw-r--r--sbin/devd/Makefile2
1 files changed, 2 insertions, 0 deletions
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