]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r240966 (by brooks)
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jul 2013 20:09:46 +0000 (20:09 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 Jul 2013 20:09:46 +0000 (20:09 +0000)
commitda4e8c5682c2233f80647b35d85b8930fa102107
tree01850f3699f36cbd5416a9450c51faaf12a97b64
parentdb4db93d385f5e83c80ba6302ccffca984f3cd67
MFC r240966 (by brooks)

Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk.

When the compiler is clang add c++11 to COMPILER_FEATURES.

When the compiler supports c++11, default to building libc++.  This will
not impact the compliation of programs, but will make it easier for
users with clang compiled systems to test libc++ by passing -stdlib=libc++
to their c++ compliations.

git-svn-id: svn://svn.freebsd.org/base/stable/9@253220 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.compiler.mk
share/mk/bsd.own.mk