diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-19 08:46:36 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-12-19 08:46:36 +0000 |
commit | f8c58c8dc84986381765ab9fc08fa113c7e8c375 (patch) | |
tree | 3ec5ea3474aa27be2fdd72e029fc26b3d1dba223 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 6e3c4235be473b39b3c56cec1c998df03e79ec99 (diff) | |
download | llvm-f8c58c8dc84986381765ab9fc08fa113c7e8c375.zip llvm-f8c58c8dc84986381765ab9fc08fa113c7e8c375.tar.gz llvm-f8c58c8dc84986381765ab9fc08fa113c7e8c375.tar.bz2 |
llvm-config: Introduce --system-libs to print SYSTEM_LIBS, and deprecate SYSTEM_LIBS in --ldflags.
Although --system-libs is expected to use after --libs, it can be used alone.
$ bin/llvm-config --ldflags
-L/path/to/llvm/objroot/lib
$ bin/llvm-config --libs object
-lLLVMObject -lLLVMSupport
$ bin/llvm-config --system-libs
(Blank line. "all" is assumed but nothing is printed.)
-lrt -ldl -ltinfo -lpthread -lz
$ bin/llvm-config --ldflags --libs --system-libs object
-L/path/to/llvm/objroot/lib
-lLLVMObject -lLLVMSupport
-lrt -ldl -ltinfo -lpthread -lz
It is reimplementation of r197380, and workaround for PR3347 and PR8449.
FIXME: Each LLVM component may have its dependent system libs.
llvm-svn: 197664
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions