John Cavan <[EMAIL PROTECTED]> writes:
> So far, the first package I've encountered for a rebuild with these is
> klyx (anyone know why GCC 2.95.2 fails on this one?), for which I
> removed the inclusion of the RPM_OPT_FLAGS and substituted my own. Is
> there a way to tell rpm to use a non-standard rpmrc file in the event
> that egcs is the compiler? Or is there something I can put in the rpmrc
> to tag values for different compilers?
I don't think you can tell to rpm to change the cflags with different
compiler, maybe via command line :
rpm --define 'optflags "-O2 --what-ever"' -ba foo.spec
--Chmouel