Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153344630
D39917.id121338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D39917.id121338.diff
View Options
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -6,9 +6,6 @@
.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
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -378,7 +378,7 @@
.endif
.endif #defined(SHLIB_NAME)
-.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"
+.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
_LIBS+= lib${LIB_PRIVATE}${LIB}_pic.a
lib${LIB_PRIVATE}${LIB}_pic.a: ${SOBJS}
@@ -540,7 +540,7 @@
.endif # SHLIB_LDSCRIPT
.endif # SHLIB_LINK
.endif # SHIB_NAME
-.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB) && ${MK_TOOLCHAIN} != "no"
+.if defined(INSTALL_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
${INSTALL} ${TAG_ARGS:D${TAG_ARGS},dev} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${_INSTALLFLAGS} lib${LIB}_pic.a ${DESTDIR}${_LIBDIR}/
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 2:47 PM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31916362
Default Alt Text
D39917.id121338.diff (1 KB)
Attached To
Mode
D39917: bsd.lib.mk: decouple lib*_pic.a from TOOLCHAIN build knob
Attached
Detach File
Event Timeline
Log In to Comment