[PATCH] D39930: [CMake] Use libc++ and compiler-rt as default libraries in Fuchsia toolchain

Roland McGrath via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 10 17:19:51 PST 2017


mcgrathr added a comment.

In principle this should be OK since we're unconditionally building the runtimes for `default`.
However, this means that any dynamically-linked host builds will assume our toolchain-provided shared libraries are available on the runtime host in standard library places.
I don't think we want that.  Perhaps we could make `-static-libstdc++` default in our host targets.  But that's not really enough, since compiler-rt has some too.  Probably better to just disable building the shared libraries altogether for the host targets.


Repository:
  rL LLVM

https://reviews.llvm.org/D39930





More information about the cfe-commits mailing list