[MacPorts] #37732: cmake-1.0: provide option to disable CMAKE_OSX_ARCHITECTURES

MacPorts noreply at macports.org
Wed Feb 17 05:02:42 PST 2016


#37732: cmake-1.0: provide option to disable CMAKE_OSX_ARCHITECTURES
----------------------+----------------------
  Reporter:  mojca@…  |      Owner:  larryv@…
      Type:  defect   |     Status:  new
  Priority:  High     |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+----------------------

Comment (by michaelld@…):

 This issue is still relevant: while maybe gfortran tolerates the -arch
 flag, it seems like g++ and gcc from gcc5 still do not; haven't checked
 gcc6 yet.

 For better or worse, this issue is at least partly an internal CMake
 issue: CMake assumes that the compiler can take the -arch flag, without
 even checking for it. There's even a comment in the code about how this
 variable should be used, but at least in my reading I don't see that the
 logic in the comment is carried out. I'll ping the CMake folks about this
 issue & see what they say.

-- 
Ticket URL: <https://trac.macports.org/ticket/37732#comment:29>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list