From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199904191735.LAA10478@ellpspace.math.ualberta.ca> Date: Mon, 19 Apr 1999 11:35:45 -0600 (MDT) From: Michal Jaegermann Subject: Re: libffm required architecture In-Reply-To: <371B6110.CBC8D45B@neuro.uni-oldenburg.de> Johannes G.D. Hausmann wrote: > > So if Joachim promises this, all one would need to do is take out the > -mcpu=ev56 in the .rpmrc, recompile and that's it. Just for the record. To modify flags used by RPM you do not have to touch .rpmrc - which may not even exist. It is enough to set RPM_OPT_FLAGS to desired values and this can be done in a spec file; the same way as RPM_BUILD_ROOT, for example. We are talking about creating rmp archive, of course, or otherwise this does not make any sense. > Probably one should > rename the spec file and the binary, like fastmath-ev4-something. And that, i.e. this modified spec file, is an excellent place for something like '-mcpu=ev4' as one of options in RPM_OPT_FLAGS. Or you may set CFLAGS for 'make' in spec file directly. Keep in mind that somebody else may use this spec file in the future.   Michal