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

MacPorts noreply at macports.org
Sat Apr 20 03:03:33 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  |
-----------------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => mascguy
 * cc: fhgwright (added)
 * status:  new => assigned


Comment:

 Replying to [ticket:69782 TurtleWilly]:
 > It seems that "$(ARCHFLAGS)" is not expanded in the "CC ?= …" and "CXX
 ?= …" lines and simply ends up empty,

 I would have thought it would get expanded.

 > {{{
 > CC              ?= cc $(ARCHFLAGS)
 > }}}
 > {{{
 > CXX             ?= c++ $(ARCHFLAGS)
 > }}}

 But even if it did, this doesn't seem like a good way to do it. Users
 expect to be able to override CC and CXX, and they don't expect that, when
 they do so, some flags will no longer get added.

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


More information about the macports-tickets mailing list