aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-03-31 17:27:01 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-03-31 17:27:01 +0000
commitc0f5aeb0329d71e6b02379133c0c9c0145c9afea (patch)
treed5b12c42cd3b40d0e261d08cb2bd7296f217f0d9 /lib/libc/Makefile
parentc4563b16f59b340aca1a2e1e1f7257068c92b878 (diff)
WITHOUT_TOOLCHAIN: Fix build of rtld.
MK_TOOLCHAIN==no disables building and installing of pic archives. c_pic.a is still needed for rtld though so force it to build in lib/libc and link directly to the objdir version of it for rtld. Somehow this has been broken since r148725. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=297461
Diffstat (limited to 'lib/libc/Makefile')
-rw-r--r--lib/libc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 707fc1a46a18..8b3f201cd06a 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -5,6 +5,9 @@ SHLIBDIR?= /lib
.include <src.opts.mk>
+# Force building of libc_pic.a
+MK_TOOLCHAIN= yes
+
LIBC_SRCTOP?= ${.CURDIR}
# Pick the current architecture directory for libc. In general, this is