[CRIU] [PATCH 5/9] pie: Add symbolic link pie/util-net.c -> util-net.c

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 11 08:31:04 EST 2013


On Mon, Feb 11, 2013 at 05:24:44PM +0400, Pavel Emelyanov wrote:
> On 02/09/2013 01:27 PM, Cyrill Gorcunov wrote:
> > 
> > The util-net.c is used for PIE code generation (IOW, we
> > compile this file twice but with different compiler options).
> > But for simplified Makefile the source code which lays in
> > different directory (and what is worse re-compiled) is quite
> > inconvenient.
> > 
> > Thus add a symbolic link to it. Note the link is done as
> > relative path (../util-net.c) thus it's independent of top
> > directory name.
> 
> I thought I've already described my unwillingness to have
> symlinks in code.

Yes, but can we live with it for a couple of days or so? I need some
time for experiments, then I update it on top. No?

> > I'm about to extend simplified Makefiles engine to handle such
> > situation more gracefully and eliminate the symlink, for a while
> > it's safe to live with it.

	Cyrill


More information about the CRIU mailing list