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

MacPorts noreply at macports.org
Sat Apr 20 17:58:38 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 TurtleWilly):

 This is how it would resolve here on my system:

 {{{
 $ make --print-data-base | egrep '^(CC|CXX).*'
 CC = cc
 CXX = c++

 $ which cc
 /usr/bin/cc
 $ which c++
 /usr/bin/c++

 $ ls -l /usr/bin/cc
 lrwxr-xr-x  1 root  wheel  5 Oct 30  2014 /usr/bin/cc -> clang
 $ ls -l /usr/bin/c++
 lrwxr-xr-x  1 root  wheel  7 Oct 30  2014 /usr/bin/c++ -> clang++
 }}}

 And finally clang and clang++ are shim binaries that redirect to inside
 XCode, if installed, or prompt the user to install XCode first.
 Redirection madness. :)

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


More information about the macports-tickets mailing list