[MacPorts] #69782: legacy-support: Minor issues with ARCHFLAGS in the Makefile

MacPorts noreply at macports.org
Sat Apr 20 03:07:55 UTC 2024


#69782: legacy-support: Minor issues with ARCHFLAGS in the Makefile
-----------------------------+----------------------
  Reporter:  TurtleWilly     |      Owner:  mascguy
      Type:  enhancement     |     Status:  assigned
  Priority:  Low             |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  legacy-support  |
-----------------------------+----------------------

Comment (by ryandesign):

 I would think something more like
 {{{
 CC              := $(CC) $(ARCHFLAGS)
 }}}
 {{{
 CXX             := $(CXX) $(ARCHFLAGS)
 }}}
 but this is untested and still not ideal. Instead, $(ARCHFLAGS) should be
 in each rule that needs it.

 (make defaults to cc and c++ for CC and CXX respectively, doesn't it? So
 providing that value should not be necessary.)

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


More information about the macports-tickets mailing list