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

MacPorts noreply at macports.org
Mon Jan 21 15:57:45 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:           |
----------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Correct: none of the compilers in FSF GCC, including gfortran, support
 -arch flags; -arch flags are an Apple extension. If you would like FSF GCC
 to adopt this Apple extension you'll have to talk to the developers of FSF
 GCC about that.

 The cmake 1.0 portgroup makes no mention of FFLAGS, or any other *FLAGS
 variables. MacPorts base should be smart enough to not add -arch flags if
 the compiler does not support it; we maintain a list in MacPorts base of
 which compilers do and do not support -arch flags. If this is not working
 correctly please provide a reproduction recipe.

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


More information about the macports-tickets mailing list