Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 243566
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 243566 depends on: Show dependency tree
Bug 243566 blocks: 243502
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-10-24 00:19 0000
I'm filing this bug (from a template, mind you) because the ebuild I'm
reporting it against failed to build once I removed my
/usr/bin/{gcc,cc,c++,c99} binaries. This means that the ebuild is relying on
gcc or cc as compiler, while it should use "$(tc-getCC)" so that user choices
are respected, and cross-compiling works as intended.

This usually comes down to one of these tasks:

- use emake CC="$(tc-getCC)" for building, to ovewrite make's CC variable
(defaults to "cc", some upstream rewrites it);
- the above plus replacing explicit "gcc" (or similar) calls with $(CC) so that
the variable is actually respected;
- tc-export CC in src_compile before eventual econf.

For C++, you'd have to replace CC with CXX everywhere above, of course.

If your package is a special case on this, please let me know.

Thanks,
Diego

------- Comment #1 From Ulrich Müller 2008-10-24 06:31:32 0000 -------
Fixed. Thanks for pointing this out.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug