From 269d6e15072ba2cb52db59b3f2ff0bad84ed7125 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Sun, 3 Jul 2016 17:28:39 +0000 Subject: Fix race for incrementally rebuilding VERSION_MAP. The dependency is needed in PROG_FULL since only the build of PROG_FULL is using the LDFLAGS and depending on VERSION_MAP. This was not a problem with MK_DEBUG_FILES==no since it only builds PROG. This should probably be using bsd.lib.mk instead [1] Reported by: swills, gjb Reviewed by: emaste Noted by: rgrimes [1] Sponsored by: EMC / Isilon Storage Division Approved by: re (kib) --- libexec/rtld-elf/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libexec/rtld-elf/Makefile') diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 6ae9130..de98da2 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -69,8 +69,6 @@ SYMBOL_MAPS= ${.CURDIR}/Symbol.map VERSION_MAP= Version.map LDFLAGS+= -Wl,--version-script=${VERSION_MAP} -${PROG}: ${VERSION_MAP} - .if exists(${.CURDIR}/${RTLD_ARCH}/Symbol.map) SYMBOL_MAPS+= ${.CURDIR}/${RTLD_ARCH}/Symbol.map .endif @@ -92,4 +90,5 @@ SUBDIR+= tests .endif .include +${PROG_FULL}: ${VERSION_MAP} .include -- cgit v1.1