Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178072183
D26044.1795889506.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
D26044.1795889506.diff
View Options
Index: share/mk/bsd.lib.mk
===================================================================
--- share/mk/bsd.lib.mk
+++ share/mk/bsd.lib.mk
@@ -252,9 +252,7 @@
lib${LIB_PRIVATE}${LIB}.a: ${OBJS} ${STATICOBJS}
@${ECHO} building static ${LIB} library
@rm -f ${.TARGET}
- ${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' NMFLAGS='${NMFLAGS}' \
- ${LORDER} ${OBJS} ${STATICOBJS} | ${TSORT} ${TSORTFLAGS}` ${ARADD}
- ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
+ ${AR} ${ARFLAGS} -s ${.TARGET} ${OBJS} ${STATICOBJS} ${ARADD}
.endif
.if !defined(INTERNALLIB)
@@ -271,9 +269,7 @@
lib${LIB_PRIVATE}${LIB}_p.a: ${POBJS}
@${ECHO} building profiled ${LIB} library
@rm -f ${.TARGET}
- ${AR} ${ARFLAGS} ${.TARGET} `NM='${NM}' NMFLAGS='${NMFLAGS}' \
- ${LORDER} ${POBJS} | ${TSORT} ${TSORTFLAGS}` ${ARADD}
- ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
+ ${AR} ${ARFLAGS} -s ${.TARGET} ${POBJS} ${ARADD}
.endif
.if defined(LLVM_LINK)
@@ -333,9 +329,7 @@
@${INSTALL_LIBSYMLINK} ${TAG_ARGS:D${TAG_ARGS},dev} ${SHLIB_NAME} ${SHLIB_LINK}
.endif
${_LD:N${CCACHE_BIN}} ${LDFLAGS} ${SSP_CFLAGS} ${SOLINKOPTS} \
- -o ${.TARGET} -Wl,-soname,${SONAME} \
- `NM='${NM}' NMFLAGS='${NMFLAGS}' ${LORDER} ${SOBJS} | \
- ${TSORT} ${TSORTFLAGS}` ${LDADD}
+ -o ${.TARGET} -Wl,-soname,${SONAME} ${SOBJS} ${LDADD}
.if ${MK_CTF} != "no"
${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${SOBJS}
.endif
@@ -360,8 +354,7 @@
lib${LIB_PRIVATE}${LIB}_pic.a: ${SOBJS}
@${ECHO} building special pic ${LIB} library
@rm -f ${.TARGET}
- ${AR} ${ARFLAGS} ${.TARGET} ${SOBJS} ${ARADD}
- ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
+ ${AR} ${ARFLAGS} -s ${.TARGET} ${SOBJS} ${ARADD}
.endif
.if defined(BUILD_NOSSP_PIC_ARCHIVE) && defined(LIB) && !empty(LIB)
@@ -373,8 +366,7 @@
lib${LIB_PRIVATE}${LIB}_nossp_pic.a: ${NOSSPSOBJS}
@${ECHO} building special nossp pic ${LIB} library
@rm -f ${.TARGET}
- ${AR} ${ARFLAGS} ${.TARGET} ${NOSSPSOBJS} ${ARADD}
- ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
+ ${AR} ${ARFLAGS} -s ${.TARGET} ${NOSSPSOBJS} ${ARADD}
.endif
.endif # !defined(INTERNALLIB)
@@ -389,8 +381,7 @@
lib${LIB_PRIVATE}${LIB}_pie.a: ${PIEOBJS}
@${ECHO} building pie ${LIB} library
@rm -f ${.TARGET}
- ${AR} ${ARFLAGS} ${.TARGET} ${PIEOBJS} ${ARADD}
- ${RANLIB} ${RANLIBFLAGS} ${.TARGET}
+ ${AR} ${ARFLAGS} -s ${.TARGET} ${PIEOBJS} ${ARADD}
.endif
.if defined(_SKIP_BUILD)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 6:11 PM (17 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42074484
Default Alt Text
D26044.1795889506.diff (2 KB)
Attached To
Mode
D26044: Stop using lorder and ranlib when building libraries
Attached
Detach File
Event Timeline