[MacPorts] #65100: weechat @3.5_0+ruby: error: invalid arch name '-arch -lx86_64'

MacPorts noreply at macports.org
Sun Jan 22 07:00:04 UTC 2023


#65100: weechat @3.5_0+ruby: error: invalid arch name '-arch -lx86_64'
---------------------------+----------------------
  Reporter:  hexadecagram  |      Owner:  cardi
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  weechat       |
---------------------------+----------------------

Comment (by kencu):

 Good sleuthing.

 Usually the arch setting would be in the CXX or C flags, and added to the
 link that way.

 the link line is supposed to be something like:

 (COMPILER) (C_or_CXXFLAGS) (LDFLAGS) source_file

 So perhaps the 'fix' is to get the archs out of the LDFLAGS completely.

-- 
Ticket URL: <https://trac.macports.org/ticket/65100#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list