On Wed, 2004-06-02 at 17:23, Carlos Villegas wrote: > 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. Ok, I was simply hoping to avoid having multiple .spec files. This is a good point though, that the builds do need to be repeatable. Maybe I'll do it as an -experimental rpm. Thanks! Joe -- Joe Landman <landman@xxxxxxxxxxxxxxxxxxxxxxx> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list