Re: change default compiler version to build an rpm

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

 




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




_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux