[tsan] Disable sysroot flag on FreeBSD
authorEd Maste <emaste@freebsd.org>
Thu, 18 Feb 2016 17:35:30 +0000 (17:35 +0000)
committerEd Maste <emaste@freebsd.org>
Thu, 18 Feb 2016 17:35:30 +0000 (17:35 +0000)
commit371310e1aeef112a2d67ee004b2ab1f6583841b8
treeff77b0b4f10c2b0cb99835b1f146508709415eb3
parent1153f194bde1fb1b75ed21effef8efb97bb15f59
[tsan] Disable sysroot flag on FreeBSD

FreeBSD does not install a number of Clang-provided headers for the
compiler in the base system due to incompatibilities between FreeBSD's
and Clang's versions. As a workaround do not use --sysroot=. on FreeBSD
until this is addressed.

llvm.org/pr26651
Differential Revision: http://reviews.llvm.org/D17383

llvm-svn: 261229
compiler-rt/lib/tsan/CMakeLists.txt