Re: CC and CFLAGS, and a naming question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 02, 2004 at 02:13:09PM -0400, Joe Landman wrote:
> Folks:
> 
>   I want to respect the users CC and CFLAGS settings in the RPM.  That
> is, if CC is defined, use it, rather than the default.  If CFLAGS are
> defined, then use them (or append to them).  

This is not a good idea, the idea of using rpm for source
management is the capability of reproducing the builds exactly,
that would break it... So my guess is that rpm (rpmbuild) unsets
those variables before doing anything. You can always do
something like "env CC=-blah make" in the spec.

Carlos


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux