Skip to content
  • Erich Keane's avatar
    Add support in CMake to statically link the C++ standard library. · 0e85f18d
    Erich Keane authored
    It is sometimes useful to have the C++ standard library linked into the
    assembly when compiling clang, particularly when distributing a compiler
    onto systems that don't have a copy of stdlibc++ or libc++ installed.
    
    This functionality should work with either GCC or Clang as the host
    compiler, though statically linking libc++ (as may be required for
    licensing purposes) is only possible if the host compiler is Clang with
    a copy of libc++ available.
    
    Differential Revision: https://reviews.llvm.org/D65603
    
    llvm-svn: 368907
    0e85f18d
Loading