On Wed, Oct 18, 2006 at 02:09:00PM +0200, Olaf Hering wrote:
> 
> What is the purpose of $(CFLAGS) $(EXTRA_CFLAGS) all over the place?
> Normally 'CFLAGS="$foo" ./configure' is supposed to use $foo as gcc
> options. But configure.ac has its own idea what the CFLAGS/EXTRA_CFLAGS
> should be. There is no way to override it without adding lots of
> knowledge about EXTRA_FLAGS handling to the rpm spec file.
> Can this be fixed please?

Could you please take a look at the changes that I have made in this
area in the kexec-tools-testing tree. I was also pretty astonished
at how they were being handled. But hopefully this is fixed up a bit
by taking CFLAGS, LDFLAGS and CPPFLAGS from the environment, and
using EXTRA_ variants internally for stuff it wants to override for
some reason.

I am more than happy to look at patches that futher improve this
(or fix any thing silly in my attempt to do so).

git clone 
master.kernel.org:/pub/scm/linux/kernel/git/horms/kexec-tools-testing.git/
http://www.kernel.org/git/?p=linux/kernel/git/horms/kexec-tools-testing.git;a=summary


-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to