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

Cyrill Gorcunov gorcunov at openvz.org
Sat Feb 9 04:27:01 EST 2013


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'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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-pie-Add-symbolic-link-pie-util-net.c-util-net.c.patch
Type: text/x-patch
Size: 181 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130209/442608fb/attachment.bin>


More information about the CRIU mailing list