[CRIU] [PATCH] build/nmk: add per-target LDFLAGS

Cyrill Gorcunov gorcunov at gmail.com
Sat Feb 20 04:21:58 PST 2016


On Sat, Feb 20, 2016 at 03:01:40PM +0300, Dmitry Safonov wrote:
> On 02/20/2016 02:49 PM, Dmitry Safonov wrote:
> >Let there be LDFLAGS_$@ similar to CFLAGS_$@, ASFLAGS_$@.
> >I need them for passing -m elf_i386 to build 32-bit syscalls/pie on
> >64-bit machine.
> Oh, drop it, there are *-ldflags-y.
> Anyway, may be we'll have some standard form of $@-flags?

*-ldflags-y came from linux build engine, which has no LDFLAGS_*
if I remember correctly. Please check (see scripts/Kbuild*|Makefile*
in kernel source tree). Actually, you know I would prefer to not
define new vars if possible.


More information about the CRIU mailing list