[MacPorts] #39975: root: Add --enable-cxx11 when using libc++
MacPorts
noreply at macports.org
Mon Nov 11 01:31:35 PST 2013
#39975: root: Add --enable-cxx11 when using libc++
--------------------------+------------------------
Reporter: jfcaron@… | Owner: jeremyhu@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: | Keywords:
Port: root |
--------------------------+------------------------
Comment (by jeremyhu@…):
Yeah, that's because it won't be enabled on your configuration. You'd
need to install base trunk, choose libc++ as your C++ runtime, and
reinstall all of your ports.
I suggest you set this in /opt/local/etc/macports/macports.conf :
{{{
buildfromsource always
delete_la_files yes
cxx_stdlib libc++
}}}
delete_la_files is there because this is a good opportunity for you to do
that as well (it would require a full reinstall just like switching the
C++ runtime)
Note that Lion's libc++ is a bit older and you may run into issues that
have been fixed in Mountain Lion and Mavericks that weren't pulled back
into Lion software updates.
--
Ticket URL: <https://trac.macports.org/ticket/39975#comment:19>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list