Re: [OT] change default compiler version to build an rpm

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

 



On Thu, 2006-05-04 at 23:43 +0200, Gianluca Cecchi wrote:
> On Thu, 4 May 2006 16:49:00 -0400 Dave Jones wrote:
> >So why not fix the program so it builds with 4.1.0 ?
> >Running away from the problem to older gcc's means it'll miss out
> >on advantages such as FORTIFY_SOURCE.
> 
> Indeed, and infact I sent an e-mail to the author of the program.
> The problem is pertinent to the "invalid lvalue in assignment" that I
> saw in various other programs that were then patched to be able to
> compile from gcc 3 to 4.
> But my question could also be seen in general as how to override
> pre-defined macros, not only for the __cc one. Or is this in general a
> no-no thing to do?

for example to override _sourcedir you can do

rpmbuild --define "_sourcedir `pwd`" 

so I assume that works for most others too

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux