[MacPorts] #53187: gr-osmosdr fails to build on OSX 10.7.5

MacPorts noreply at macports.org
Wed Jan 25 20:48:42 UTC 2017


#53187: gr-osmosdr fails to build on OSX 10.7.5
-------------------------+-----------------------
  Reporter:  nr0q        |      Owner:  michaelld
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.5
Resolution:  wontfix     |   Keywords:  lion
      Port:  gr-osmosdr  |
-------------------------+-----------------------

Comment (by michaelld):

 So there issue here is that CMake is adding in a compile flag
 "-std=gnu++11" for some reason. I can't even figure out where that's
 happening, and there's no good way to override it except by switching out
 compilers. If you install gr-osmosdr using "configure.compiler=macports-
 clang-3.4", then it works. I think the issue is that the default Xcode
 clang is version 4.2.1 (GCC 4.2.1 replica of sorts), which triggers the
 gnu++11 flag, while using the MacPorts clang 3.4 doesn't trigger the flag.
 Stupid. I'm guessing there's a way in CMake to disable this "feature"; I
 just don't know what it is. Thus, I think that there's really no good
 solution to this issue at this time.

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


More information about the macports-tickets mailing list