[Rpm-maint] Add HOST_CFLAGS to %configure?
Mark Hatle
mark.hatle at windriver.com
Fri Feb 9 23:47:47 UTC 2007
As an embedded Linux company, we use HOST_CFLAGS vs regular CFLAGS a
lot. More and more things are starting to do this, however they only do
this if cross compiling is enabled.
Is there really any software out there that uses HOST_* w/o cross
compiling enabled (that doesn't just map HOST_* to the non HOST versions?)
--Mark
Paul Nasrat wrote:
> 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
>
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint
More information about the Rpm-maint
mailing list