summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-04-24 19:47:39 +0000
committerShoaib Meenai <smeenai@fb.com>2018-04-24 19:47:39 +0000
commitf2650df77db1bcc3b9010bdedcdc79fcd5e82ca1 (patch)
tree08378f95fd2ffad2f5124dee9f4b1b92966fe0e4 /llvm/tools
parentc4d25a29229e48286b6352099907fda18ec6b109 (diff)
downloadbcm5719-llvm-f2650df77db1bcc3b9010bdedcdc79fcd5e82ca1.tar.gz
bcm5719-llvm-f2650df77db1bcc3b9010bdedcdc79fcd5e82ca1.zip
[cmake] Fix libc++ detection
-stdlib=libc++ is added to both the compilation and the link flags, but the logic for adding it was only checking if it was supported during compilation and not linking. This could lead to false positives, for example when using clang with libstdc++ (where the compiler would support -stdlib=libc++ but then linking would fail because of libc++ actually being unavailable). llvm-svn: 330761
Diffstat (limited to 'llvm/tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud