diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-03-31 17:27:01 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-03-31 17:27:01 +0000 |
commit | 9fd5efc7e54ec4734354c84ffad10395c3eb8399 (patch) | |
tree | d5b12c42cd3b40d0e261d08cb2bd7296f217f0d9 /lib | |
parent | 00188ca87c5ab29bd2bbad41295c6a19fb316ce4 (diff) | |
download | FreeBSD-src-9fd5efc7e54ec4734354c84ffad10395c3eb8399.zip FreeBSD-src-9fd5efc7e54ec4734354c84ffad10395c3eb8399.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 707fc1a..8b3f201 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 |