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

Christopher Covington cov at codeaurora.org
Wed Apr 22 14:46:39 PDT 2015


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

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


More information about the CRIU mailing list