aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/CompilationDatabase.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-07-27 08:15:54 +0000
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>2016-07-27 08:15:54 +0000
commitd196fa524fa483a6195f6f079b0ee82dba03db1f (patch)
treec49889501e16de7bc63ef8f8d0e35dd29d99ca96 /clang/lib/Tooling/CompilationDatabase.cpp
parent7094aa4f8d9cf64c56e07966b993c593bc8c73d8 (diff)
downloadllvm-d196fa524fa483a6195f6f079b0ee82dba03db1f.zip
llvm-d196fa524fa483a6195f6f079b0ee82dba03db1f.tar.gz
llvm-d196fa524fa483a6195f6f079b0ee82dba03db1f.tar.bz2
Support setting default value for -rtlib at build time
This patch introduces a new cmake variable: CLANG_DEFAULT_RTLIB, thru which we can specify a default value for -rtlib (libgcc or compiler-rt) at build time, just like how we set the default C++ stdlib thru CLANG_DEFAULT_CXX_STDLIB. With these two options, we can configure clang to build binaries on Linux that have no runtime dependence on any gcc libs (libstdc++ or libgcc_s). Patch by Lei Zhang! Differential Revision: https://reviews.llvm.org/D22663 llvm-svn: 276848
Diffstat (limited to 'clang/lib/Tooling/CompilationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions