[MacPorts] #37732: fortran compilers don't accept -arch flags

MacPorts noreply at macports.org
Mon Jan 21 17:48:30 PST 2013


#37732: fortran compilers don't accept -arch flags
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:  2.1.2
Resolution:  invalid  |   Keywords:
      Port:           |
----------------------+--------------------------------

Comment (by sean@…):

 Replying to [comment:5 jmr@…]:
 > I don't understand, should the portgroup be setting
 CMAKE_OSX_ARCHITECTURES for FSF compilers or not? Or do you mean it should
 be "stripping them out" of something else? As Ryan said, configure.fflags
 and friends don't contain -arch ever.

 Ah, you're right, I remember now. This issue comes up for me when a port
 uses one of the FSF compilers *only for fortran*. When the
 configure.compiler is checked and, let's say, "clang" is returned, then
 all flags get the "-arch" switch which will then break any fortran
 compile.

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


More information about the macports-tickets mailing list