From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 22 Oct 2011 01:20:15 +0200 Subject: [U-Boot] [PATCH] autoconf.mk.dep: use target cflags, not host In-Reply-To: <1318484880-12910-1-git-send-email-vapier@gentoo.org> References: <1318484880-12910-1-git-send-email-vapier@gentoo.org> Message-ID: <20111021232015.D56D518AE81C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1318484880-12910-1-git-send-email-vapier@gentoo.org> you wrote: > The current autoconf.mk.dep rule uses the host cflags when executing the > target compiler (which includes target header files). We don't want to > mix the target compiler and host compiler flags, so change it to CFLAGS. > Otherwise we get things like -pedantic which the U-Boot source code does > not build with. > > Signed-off-by: Mike Frysinger > --- > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de CONSUMER NOTICE: Because of the "Uncertainty Principle," It Is Impossible for the Consumer to Find Out at the Same Time Both Precisely Where This Product Is and How Fast It Is Moving.