svn commit: r304868 - projects/clang390-import/lib/clang

Ngie Cooper yaneurabeya at gmail.com
Sat Aug 27 00:58:31 UTC 2016


On Fri, Aug 26, 2016 at 4:39 PM, Dimitry Andric <dim at freebsd.org> wrote:
...
> I used ${SRCTOP} and ${OBJTOP} initially, until I realized that the
> latter didn't work for builds which are started during bootstrap-tools.
> So I locally reverted all these changes before committing this WIP.
>
> That said, ${SRCTOP} makes it look a little nicer, but there are lots
> of other instances of using ../../.. in these Makefiles.  It does not
> really bother me. :)

Can you use something like this instead to signal the "right intent",
and someday hopefully this will just work (tm) with a bit more effort?
Thanks,
-Ngie

# XXX: SRCTOP isn't available until Y stage in the build
SRCTOP?= ${.CURDIR:H:H}
LLVM_SRCS= ${SRCTOP}/contrib/llvm


More information about the svn-src-projects mailing list