New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23095 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

comment:1 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from MacPorts base should build itself using configure.cc to selfupdate 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 3 years ago by jmr@…

  • Milestone changed from MacPorts Future to MacPorts 1.9.2

Merged to branch in r70123.

Note: See TracTickets for help on using tickets.