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

Pavel Emelyanov xemul at parallels.com
Mon Feb 11 08:24:44 EST 2013


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.

> 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.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  pie/util-net.c | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 120000 pie/util-net.c
> 




More information about the CRIU mailing list