diff options
author | imp <imp@FreeBSD.org> | 2014-06-24 22:15:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-06-24 22:15:27 +0000 |
commit | 33e60dabce67b0805a0f9dc2bc92b0a3156c82c6 (patch) | |
tree | 88a3bcddaaf4433896a573c4fcf494f404bb9f89 /gnu/lib/libgcc | |
parent | c7fb0c7414192b3fc56d9921ec9caeb8babe343f (diff) | |
download | FreeBSD-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/libgcc')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 11af430..de80960 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -317,7 +317,7 @@ ${_src:R:S/$/.So/}: ${_src} ${COMMONHDRS} # Generated headers # ${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}) CLEANFILES += ${COMMONHDRS} CLEANFILES += cs-*.h option* |