summaryrefslogtreecommitdiff
path: root/libexec/ld.so/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/Makefile')
-rw-r--r--libexec/ld.so/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile
index d531f6809fe..3fdb7016953 100644
--- a/libexec/ld.so/Makefile
+++ b/libexec/ld.so/Makefile
@@ -1,10 +1,12 @@
-# $OpenBSD: Makefile,v 1.40 2013/01/05 11:19:25 miod Exp $
+# $OpenBSD: Makefile,v 1.41 2013/02/17 22:06:31 deraadt Exp $
SUBDIR=ldconfig ldd
-
MAN= ld.so.1
.include <bsd.own.mk>
+
+.if (${ELF_TOOLCHAIN:L} == "yes")
+
.if defined(NOPIC)
NOPROG=
.else
@@ -37,4 +39,6 @@ $(PROG):
$(LD) -x -e _dl_start $(ELF_LDFLAGS) -o $(PROG) $(OBJS) $(LDADD)
.endif
+.endif
+
.include <bsd.prog.mk>