1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/gnu
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
..
lib After r255321, clang uses libc++ by default. This leads to a lot of 2013-09-12 21:24:59 +00:00
usr.bin On platforms where clang is the default compiler, don't build gcc or libstdc++. 2013-09-06 20:08:03 +00:00
COPYING
COPYING.LIB
Makefile
Makefile.inc NODOCCOMPRESS -> NO_DOCCOMPRESS 2004-12-21 09:33:47 +00:00