Description of problem: Please consider adding this to the %configure macro: CC=%{__cc} ; export CC ; \ CXX=%{__cxx} ; export CXX ; \ The rationale is that this makes it possible to write custom rpmrc files for other compilers and have things work sanely. For example, I have written one for the Intel C/C++ compiler. It would be nice to just set __cc and __cxx and have everything work. That would make it possible to select a compiler from the rpmbuild command line, instead of including custom hacks in the spec file. Version-Release number of selected component (if applicable): redhat-rpm-config-9.0.2-1.fc9.noarch How reproducible: N/A Steps to Reproduce: 1. N/A Actual results: N/A Expected results: N/A Additional info:
A year with no response isn't encouraging. Is this something I should ask rpm upstream to do?
No objections, but I'd like to point out that you can set CC and CXX in the environment before invoking rpmbuild, it does not reset/filter them: CC=/path/to/mycc CXX=/path/to/myc++ rpmbuild -bb ... foo.spec If added to %configure or some other macro, it'd be better to define these conditionally like CFLAGS etc are done: CC="${CC:-%__cc}" ; export CC ; \ CXX="${CXX:-%__cxx}" ; export CXX ; \
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.