[CRIU] [PATCH] build/nmk: add per-target LDFLAGS
Cyrill Gorcunov
gorcunov at gmail.com
Sat Feb 20 04:31:42 PST 2016
On Sat, Feb 20, 2016 at 03:25:34PM +0300, Dmitry Safonov wrote:
> On 02/20/2016 03:21 PM, Cyrill Gorcunov wrote:
> >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.
> I thought maybe rename CFLAGS_$@ and ASFLAGS_$@ to
> $@-cflags-y $@-asflags-y. But if you want, we leave it as is.
To be fair, I like your approach more. So letme think.
More information about the CRIU
mailing list