aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.libcompat
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-17 20:15:20 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-17 20:15:20 +0000
commit4ff30397f511caf270aa89aa1f20d5fef0904bf5 (patch)
tree0f77449be9ac9d657c645af3e084a100670a9657 /Makefile.libcompat
parent2052157d77837733eff0336e01235cc3d5ee1889 (diff)
downloadsrc-4ff30397f511caf270aa89aa1f20d5fef0904bf5.tar.gz
src-4ff30397f511caf270aa89aa1f20d5fef0904bf5.zip
Honor NO_RTLD for rtld-elf, similar to what's done in libexec/Makefile, with
libexec/rtld-elf/... for MK_{LIB32,LIBSOFT}. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=322633
Diffstat (limited to 'Makefile.libcompat')
-rw-r--r--Makefile.libcompat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat
index 8542d5b246ae..6918e5f73021 100644
--- a/Makefile.libcompat
+++ b/Makefile.libcompat
@@ -179,7 +179,7 @@ build${libcompat}: .PHONY
.endfor
${_+_}cd ${.CURDIR}; \
${LIBCOMPATWMAKE} -f Makefile.inc1 -DNO_FSCHG libraries
-.if ${libcompat} == "32"
+.if ${libcompat} == "32" && !defined(NO_RTLD)
.for _t in ${_obj} all
${_+_}cd ${.CURDIR}/libexec/rtld-elf; PROG=ld-elf32.so.1 ${LIBCOMPATWMAKE} \
-DNO_FSCHG DIRPRFX=libexec/rtld-elf/ ${_t}
@@ -192,7 +192,7 @@ distribute${libcompat} install${libcompat}: .PHONY
.for _dir in ${_LC_LIBDIRS.yes}
${_+_}cd ${.CURDIR}/${_dir}; ${LIBCOMPATIMAKE} ${.TARGET:S/${libcompat}$//}
.endfor
-.if ${libcompat} == "32"
+.if ${libcompat} == "32" && !defined(NO_RTLD)
${_+_}cd ${.CURDIR}/libexec/rtld-elf; \
PROG=ld-elf32.so.1 ${LIBCOMPATIMAKE} ${.TARGET:S/32$//}
${_+_}cd ${.CURDIR}/usr.bin/ldd; PROG=ldd32 ${LIBCOMPATIMAKE} \