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/csu | |
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/csu')
-rw-r--r-- | gnu/lib/csu/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile index 6ab5e87..2db69fb 100644 --- a/gnu/lib/csu/Makefile +++ b/gnu/lib/csu/Makefile @@ -73,7 +73,7 @@ crtendS.o: ${ENDSRC} CLEANFILES+= tm.h tconfig.h options.h optionlist cs-tconfig.h cs-tm.h tm.h tconfig.h options.h: ${CCDIR}/cc_tools/Makefile - ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET} + (cd ${.CURDIR}; ${MAKE} -f ${.ALLSRC} MFILE=${.ALLSRC} GCCDIR=${GCCDIR} ${.TARGET}) realinstall: .for file in ${OBJS} ${SOBJS} ${TGTOBJS} |