diff options
author | gordon <gordon@FreeBSD.org> | 2003-08-17 08:40:49 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-08-17 08:40:49 +0000 |
commit | d2464b0086c5a0ecf127b5a3714d0adbcf7d8496 (patch) | |
tree | 2f80eceeecbd308acfbf7c47146e5a6344a0043b | |
parent | b9d102ab04d00715a3b74297e70a230768bdf504 (diff) | |
download | FreeBSD-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/Makefile | 2 |
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 |