[MacPorts] #66246: Help needed: something forces -stdlib= flag which breaks build with GCC

MacPorts noreply at macports.org
Sun Nov 13 09:16:27 UTC 2022


#66246: Help needed: something forces -stdlib= flag which breaks build with GCC
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  kencu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:
      Port:                |
---------------------------+----------------------

Comment (by barracuda156):

 Replying to [comment:2 kencu]:
 > you mentioned you are using the compilers PG, so probably from this
 recent commit then:
 >
 > https://github.com/macports/macports-
 ports/commit/6c7e20407ccc5f48c8a89b6cfef7561fea0002b0

 Thank you for the reference. I think I have tried removing that section
 altogether while looking to fix the build, but I will verify again.
 Given that no one tested libcxx with GCC, it is probably wise to keep that
 flag out of default options even on Intel.

 P. S. TBH I am not sure how compilers PG works. I thought it is silently
 used by Macports in general (directly or via proxy of other PGs).

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


More information about the macports-tickets mailing list