[MacPorts] #53194: clang: have -stdlib=libstdc++ refer to MacPorts libstdc++

MacPorts noreply at macports.org
Mon Jan 2 22:29:04 UTC 2017


#53194: clang: have -stdlib=libstdc++ refer to MacPorts libstdc++
----------------------------------+------------------------
  Reporter:  MarcusCalhoun-Lopez  |      Owner:  jeremyhu@…
      Type:  enhancement          |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:
Resolution:                       |   Keywords:
      Port:  clang-3.9            |
----------------------------------+------------------------

Comment (by MarcusCalhoun-Lopez):

 Replying to [comment:1 jeremyhu]:
 > The goal with the clang toolchains (as opposed to gcc toolchains) is to
 be as compatible with the host as possible.  As such, I don't intend to
 have -stdlib=libstdc++ refer to the MacPorts-provided libstdc++.
 >
 > I would be willing to do something like -stdlib=macports-libstdc++  What
 do you think about that?
 That would certainly work for what I need.[[BR]]
 I would submit a patch, but I have no idea how to do this.

 Replying to [comment:3 jeremyhu]:
 > Note that if that's non-trivial, we could do it your way (with a
 variant), but let's have it add the dependency on libgcc.
 That sounds reasonable as well.

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


More information about the macports-tickets mailing list