[CRIU] [PATCH 08/11] make: Introduce ldflags-y variable

Cyrill Gorcunov gorcunov at gmail.com
Wed Apr 22 15:00:28 PDT 2015


On Wed, Apr 22, 2015 at 05:46:39PM -0400, Christopher Covington wrote:
> On 04/22/2015 01:20 PM, Cyrill Gorcunov wrote:
> > We need a custom flags to build 32bit varian of criu
> > on 64bit host system, lets pass @ldflags-y here for
> > that.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  pie/Makefile           | 2 +-
> >  protobuf/Makefile      | 2 +-
> >  scripts/Makefile.build | 4 ++--
> >  3 files changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/pie/Makefile b/pie/Makefile
> > index 3e0b3a7a25cd..98779a75f9d8 100644
> > --- a/pie/Makefile
> > +++ b/pie/Makefile
> > @@ -48,7 +48,7 @@ $(obj)/$(PIELDS): $(obj)/$(PIELDS).in
> >  
> >  $(obj)/%.built-in.bin.o: $(obj)/%.built-in.o $(obj)/$(PIELDS)
> >  	$(E) "  GEN     " $@
> > -	$(Q) $(LD) -T $(obj)/$(PIELDS) -o $@ $<
> > +	$(Q) $(LD) $(ldfalgs-y) -T $(obj)/$(PIELDS) -o $@ $<
> 
> ldflags-y

Yeah, thank you! Will update.


More information about the CRIU mailing list