[MacPorts] #56097: audacity: not always respecting CXXFLAGS

MacPorts noreply at macports.org
Tue Mar 20 03:11:13 UTC 2018


#56097: audacity: not always respecting CXXFLAGS
-----------------------+------------------
  Reporter:  mojca     |      Owner:  RJVB
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  audacity  |
-----------------------+------------------

Comment (by ryandesign):

 Replying to [comment:5 RJVB]:
 > Ah, right. That's not completely unheard of (or wrong): `CXXFLAGS` is
 for compiling, the command generating `libvamp-sdk.so` is a link command.
 Is the `-stdlib=macports-stdc++` option added to `configure.ldflags`?

 No; I think that would only work if the linker is a C++ compiler, and
 MacPorts can't know if that's the case for a particular port. I think we
 decided that projects' Makefiles should pass `CXXFLAGS` to the linker, if
 linking C++ code. If you don't want to make that change, you can manually
 add the `-stdlib` flag to `configure.ldflags` like some other ports
 already do.

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


More information about the macports-tickets mailing list