Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#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: newclosed
Summary: MacPorts base should build itself using configure.ccselfupdate should set CC

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.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.9.2

Merged to branch in r70123.

Note: See TracTickets for help on using tickets.