Ticket #23095 (closed defect: fixed)
selfupdate should set CC
| Reported by: | ryandesign@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.9.2 |
| Component: | base | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: |
Description
During selfupdate, MacPorts base compiles itself using "gcc":
checking Mac OS X version... 10.6.2 checking Xcode location... /Developer checking Xcode version... 3.2.1 checking for gcc... gcc
but for the reasons outlined in UsingTheRightCompiler, it should compile itself using ${configure.cc}.
Change History
Note: See
TracTickets for help on using
tickets.


It can't use configure.cc because that is a variable defined in the portfile sub-interpreter. Added setting of CC to the full path to the default compiler for the platform in r67717.