From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XBb3s-0000Ce-BQ for mharc-grub-devel@gnu.org; Sun, 27 Jul 2014 22:53:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBb3k-0000Ae-O2 for grub-devel@gnu.org; Sun, 27 Jul 2014 22:53:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBb3f-00072d-8k for grub-devel@gnu.org; Sun, 27 Jul 2014 22:53:08 -0400 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:38606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBb3f-00072Z-11 for grub-devel@gnu.org; Sun, 27 Jul 2014 22:53:03 -0400 Received: by mail-la0-f47.google.com with SMTP id mc6so5072824lab.34 for ; Sun, 27 Jul 2014 19:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=xq4/pZKitlDJJMdFglU4VFg+twYDJ2q4EMqyWmGv4LY=; b=lTc8X5IuYoYitnyMJN5jGfZGycGhoTbVB4s9GSziGli4i+DCD1v13BMr9yd/d5ASJk 0OANgV9uRQMTroncwoH1u+0DWN1bsKr218+10yID6AtEFOqeUsPBrG/XYhSHLHG97zIq kDFmaQVw01f5RK2fLANHpc1e6fM4V/73E9kybKOMfL4Kb3SVZOfaSIwHDekY8mX4gRnC xuKhkiJDUUmI3eQuLd3pvGcRvnuHZojnL8qIX4NVXlr5KFtzO6/aGUxM6GgrnMMISioL jiFLvpfn0JH1vwp8CsVeEaemR4+pmrG1Uu7n324QKykYjBGAJnr7oQU/8l76uDnXRnIa Y/kQ== X-Received: by 10.152.36.74 with SMTP id o10mr32011729laj.52.1406515981882; Sun, 27 Jul 2014 19:53:01 -0700 (PDT) Received: from opensuse.site (ppp94-29-76-101.pppoe.spdop.ru. [94.29.76.101]) by mx.google.com with ESMTPSA id p2sm9864886laj.8.2014.07.27.19.53.00 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Jul 2014 19:53:00 -0700 (PDT) Date: Mon, 28 Jul 2014 06:52:59 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: HOST_* flags are not used by gnulib Message-ID: <20140728065259.1ce3c393@opensuse.site> In-Reply-To: <53CF6732.4030500@gmail.com> References: <20140403220112.3741074b@opensuse.site> <53CF6732.4030500@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/q_Jer6OolsX=./FymZrUOE5"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22f Cc: phcoder@gmail.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 02:53:14 -0000 --Sig_/q_Jer6OolsX=./FymZrUOE5 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =D0=92 Wed, 23 Jul 2014 09:41:38 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > 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=3D-g) did not work for gnulib fil= es. > >=20 > It should be just CFLAGS (refer to INSTALL) The problem is that CFLAGS leak into target. Default compilation command used by automake is COMPILE =3D $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) And any initial CFLAGS setting is passed through to all generated Makefiles.=20 So instructions in INSTALL are, unfortunately, wrong - CFLAGS cannot be safely used to initialize host environment. > > Is it intentional? > >=20 > > _______________________________________________ > > Grub-devel mailing list > > Grub-devel@gnu.org > > https://lists.gnu.org/mailman/listinfo/grub-devel > >=20 >=20 >=20 --Sig_/q_Jer6OolsX=./FymZrUOE5 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlPVuwwACgkQR6LMutpd94xqwgCcCLsDdztwOZpVb8up7Bcuui5b aTYAmgPTu+/OlYWjuVDChINbsf8Zpl5R =Lhtp -----END PGP SIGNATURE----- --Sig_/q_Jer6OolsX=./FymZrUOE5--