diff options
Diffstat (limited to 'libexec/rtld-elf/Makefile')
| -rw-r--r-- | libexec/rtld-elf/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index a132c756723f..5a31ca674a53 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -14,13 +14,17 @@ MK_ASAN= no 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 \ |
