[Rpm-maint] Add HOST_CFLAGS to %configure?

Paul Nasrat pnasrat at redhat.com
Fri Feb 9 14:28:31 UTC 2007


On Fri, 2007-02-09 at 15:23 +0100, Stanislav Brabec wrote:

> So I guess, that %configure should set HOST_CFLAGS and HOST_CXXFLAGS,
> too.
> 
> It can be defined to the same values as CFLAGS resp. CXXFLAGS, or
> better, rpm should discriminate between "build" and "target" optflags.
> For compatibility, "target" optflags should keep its name and "build"
> should be prepended by "build_".
> 
> I can try to create a patch, which can provide it, if you agree with it.

That sounds reasonable - please provide a patch to list.

> Reference:
> https://bugzilla.novell.com/show_bug.cgi?id=235723

Thanks

Paul




More information about the Rpm-maint mailing list