В Wed, 23 Jul 2014 09:41:38 +0200 Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> пишет:
> 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 > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > > > >
signature.asc
Description: PGP signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel