aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1993-12-01 15:58:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1993-12-01 15:58:22 +0000
commitdb4d1e715601ccf41d4851a3991f0a811f1fd5c6 (patch)
treea8e447f857845c50adfe745b9a8b93c46bb95d9e /gnu/usr.bin/ld/Makefile
parentb242393f9ba14873841d98433c30ad166b83ce5b (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/ld/Makefile')
-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 055e23130a7d..09b9b11622a5 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>