#23095 closed defect (fixed)
selfupdate should set CC
Reported by: | ryandesign (Ryan Carsten Schmidt) | 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 (2)
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | MacPorts base should build itself using configure.cc → selfupdate should set CC |
comment:2 Changed 14 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 1.9.2 |
---|
Merged to branch in r70123.
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.