[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HOST_* flags are not used by gnulib
From: |
Andrey Borzenkov |
Subject: |
Re: HOST_* flags are not used by gnulib |
Date: |
Mon, 28 Jul 2014 06:52:59 +0400 |
В Wed, 23 Jul 2014 09:41:38 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> On 03.04.2014 20:01, Andrey Borzenkov wrote:
> > I noticed that host flags are not propagated to gnulib. This does not
> > feel right; in particular I noticed it because attempt to enable
> > debugging for host tools (HOST_CFLAGS=-g) did not work for gnulib files.
> >
> It should be just CFLAGS (refer to INSTALL)
The problem is that CFLAGS leak into target. Default compilation
command used by automake is
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
And any initial CFLAGS setting is passed through to all generated
Makefiles.
So instructions in INSTALL are, unfortunately, wrong - CFLAGS cannot be
safely used to initialize host environment.
> > Is it intentional?
> >
> > _______________________________________________
> > Grub-devel mailing list
> > address@hidden
> > https://lists.gnu.org/mailman/listinfo/grub-devel
> >
>
>
signature.asc
Description: PGP signature
- Re: HOST_* flags are not used by gnulib, Vladimir 'φ-coder/phcoder' Serbinenko, 2014/07/24
- Re: HOST_* flags are not used by gnulib, Mike Gilbert, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Vladimir 'phcoder' Serbinenko, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Mike Gilbert, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Andrey Borzenkov, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Vladimir 'φ-coder/phcoder' Serbinenko, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Andrey Borzenkov, 2014/07/27
- Re: HOST_* flags are not used by gnulib, Mike Gilbert, 2014/07/27
Re: HOST_* flags are not used by gnulib,
Andrey Borzenkov <=