Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108238575
D41183.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1011 B
Referenced Files
None
Subscribers
None
D41183.diff
View Options
diff --git a/libexec/Makefile b/libexec/Makefile
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -3,6 +3,8 @@
.include <src.opts.mk>
+.include <bsd.compat.pre.mk>
+
SUBDIR= ${_atf} \
${_atrun} \
${_blacklistd-helper} \
@@ -84,7 +86,9 @@
.if !defined(NO_PIC) && !defined(NO_RTLD)
_rtld-elf= rtld-elf
-SUBDIR.${MK_LIB32}+= rtld-elf32
+.for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats}
+SUBDIR.${MK_LIB${LIBCOMPAT}}+= rtld-elf${libcompat}
+.endfor
.endif
.if ${MK_RBOOTD} != "no"
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -14,13 +14,17 @@
MK_SSP= no
MK_UBSAN= no
+.include <bsd.compat.pre.mk>
+
.if !defined(NEED_COMPAT)
CONFS= libmap.conf
.endif
PROG?= ld-elf.so.1
-.if (${PROG:M*ld-elf32*} != "")
-TAGS+= lib32
+.for _libcompat in ${_ALL_libcompats}
+.if ${PROG:M*ld-elf${_libcompat}[-.]*} != ""
+TAGS+= lib${_libcompat}
.endif
+.endfor
SRCS= \
crtbrand.S \
rtld_start.S \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 11:56 PM (20 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16068168
Default Alt Text
D41183.diff (1011 B)
Attached To
Mode
D41183: libexec: Automatically generate rtld-elf list and generalise TAGS
Attached
Detach File
Event Timeline
Log In to Comment