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

Re: change default compiler version to build an rpm




Have the project maintainer accommodate FC systems or any system
where the compiler "gcc" is in fact 4.x. If it doesn't compile under GCC4
the project maintainer shouldn't have a problem with this.
Indeed, and infact I sent an e-mail to the author of the program.
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?
Not in my opinion, no. But maybe it's a "think about what you are doing" thing to do. In particular, overriding "command" macros like "__cc" will probably affect the portability of your spec file/source rpm.

In any case, your example definition is not quiet correct. You want

%define __cc gcc32

not

%define %{__cc} gcc32

- T





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