summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1993-12-01 15:58:22 +0000
committerache <ache@FreeBSD.org>1993-12-01 15:58:22 +0000
commitfa2f60314e893cf1a7486391614d5d66dcfcbbe6 (patch)
treea8e447f857845c50adfe745b9a8b93c46bb95d9e /gnu/usr.bin/ld
parent40661d07ce7fcaa776494667f363bd839ff8609a (diff)
downloadFreeBSD-src-fa2f60314e893cf1a7486391614d5d66dcfcbbe6.zip
FreeBSD-src-fa2f60314e893cf1a7486391614d5d66dcfcbbe6.tar.gz
All -static and -Xlinker -Bstatic flags missed in
newly commited Makefile. NOPIC dependance missed too! Oh it is really pain to check all that broken stuff, Please, check it *before* commit!
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r--gnu/usr.bin/ld/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile
index 055e231..09b9b11 100644
--- a/gnu/usr.bin/ld/Makefile
+++ b/gnu/usr.bin/ld/Makefile
@@ -1,15 +1,19 @@
-# $Id: Makefile,v 1.8 1993/11/30 20:47:22 jkh Exp $
+# $Id: Makefile,v 1.9 1993/12/01 14:45:35 ache Exp $
#
PROG= ld
SRCS= ld.c symbol.c lib.c shlib.c warnings.c etc.c rrs.c xbits.c md.c
-CFLAGS += -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
+CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
LDADD+= -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
+LDFLAGS+= -Xlinker -Bstatic
-SUBDIR= ldconfig ldd rtld
-
+SUBDIR= ldconfig ldd
+.if !defined(NOPIC)
+SUBDIR+= rtld
+.endif
+
.PATH: $(.CURDIR)/$(MACHINE)
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud