summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgcov/Makefile
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-06-24 22:15:27 +0000
committerimp <imp@FreeBSD.org>2014-06-24 22:15:27 +0000
commit33e60dabce67b0805a0f9dc2bc92b0a3156c82c6 (patch)
tree88a3bcddaaf4433896a573c4fcf494f404bb9f89 /gnu/lib/libgcov/Makefile
parentc7fb0c7414192b3fc56d9921ec9caeb8babe343f (diff)
downloadFreeBSD-src-33e60dabce67b0805a0f9dc2bc92b0a3156c82c6.zip
FreeBSD-src-33e60dabce67b0805a0f9dc2bc92b0a3156c82c6.tar.gz
Make sure that the sub-makes for unwind.h start from the CURDIR
(/usr/src) tree rather than the OBJDIR (/usr/obj) tree. This fixes broken incremental builds with the canonical MAKESYSPATH workaround of .../share/mk. This is a gross kludge.
Diffstat (limited to 'gnu/lib/libgcov/Makefile')
-rw-r--r--gnu/lib/libgcov/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libgcov/Makefile b/gnu/lib/libgcov/Makefile
index 5292f9f..e2b8074 100644
--- a/gnu/lib/libgcov/Makefile
+++ b/gnu/lib/libgcov/Makefile
@@ -46,7 +46,7 @@ COMMONHDRS= tm.h tconfig.h gcov-iov.h options.h
CLEANFILES+= ${COMMONHDRS} cs-tm.h cs-tconfig.h options.h optionlist
${COMMONHDRS}: ${.CURDIR}/../../usr.bin/cc/cc_tools/Makefile
- ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET}
+ (cd ${.CURDIR}; ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET})
${OBJS} beforedepend: ${COMMONHDRS}
OpenPOWER on IntegriCloud