This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix srcdir=. bug in build modules


Paolo Bonzini wrote:
>I contemplated adding a Makefile.def flag saying whether a source directory
>can be configured in two different places, and only create the symlink tree
>in the other case. But maybe it is overkill, though, when a safer behavior
>that works for all packages has already been implemented.

I actually think it's a good idea.  If a source directory is happy being
built both in srcdir (for the host) *and* somewhere else (for build or target),
flag it; if not, don't flag it.

-- 
This space intentionally left blank.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]