1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/gnu/lib/libstdc++
Dimitry Andric 44acc1e156 After r255321, clang uses libc++ by default. This leads to a lot of
errors when you enable WITH_GNUCXX to build libstdc++, since it will
include C++ headers from the libc++ installation under ${WORLDTMP}, and
those are not compatible with libstdc++ at all.

To fix this, add -stdlib=libstdc++ to CXXFLAGS when building libstdc++
(and its companion libsupc++) with clang.

Approved by:	re (delphij)
2013-09-12 21:24:59 +00:00
..
doc
config.h Teach libstdc++ about logl(3). 2013-08-13 20:28:21 +00:00
Makefile After r255321, clang uses libc++ by default. This leads to a lot of 2013-09-12 21:24:59 +00:00