summaryrefslogtreecommitdiffstats
path: root/usr.bin/objformat
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-11-01 02:37:40 +0000
committerjdp <jdp@FreeBSD.org>1998-11-01 02:37:40 +0000
commit8bb5a3817f814c8be346d8357bd3b7d41d521ec3 (patch)
tree5ccc96a63e2cd42a4e6f1d54c5b976474891370b /usr.bin/objformat
parent6da15449941819e3a2f00bf73b07b51662001894 (diff)
downloadFreeBSD-src-8bb5a3817f814c8be346d8357bd3b7d41d521ec3.zip
FreeBSD-src-8bb5a3817f814c8be346d8357bd3b7d41d521ec3.tar.gz
Link objformat statically by default. This makes it possible to
build 2.2-stable worlds on 3.0-current systems again. objformat calls getobjformat(), which doesn't exist in 2.2's libc. Technically there should have been a version number bump when it was added in -current. But it's used in so few places that it hardly seems worth that. Besides, the objformat program is very heavily used during a make world; it won't hurt to have it load a little faster.
Diffstat (limited to 'usr.bin/objformat')
-rw-r--r--usr.bin/objformat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/objformat/Makefile b/usr.bin/objformat/Makefile
index 93c4285..a56fdd4 100644
--- a/usr.bin/objformat/Makefile
+++ b/usr.bin/objformat/Makefile
@@ -2,6 +2,7 @@
PROG= objformat
CFLAGS+= -Wall
+NOSHARED?= YES
LINKS+= ${BINDIR}/objformat ${BINDIR}/addr2line
LINKS+= ${BINDIR}/objformat ${BINDIR}/ar
OpenPOWER on IntegriCloud