llvm-config: Fixup r197380, tweak for cross compilation. SYSTEM_LIBS should be -...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 16 Dec 2013 13:09:06 +0000 (13:09 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 16 Dec 2013 13:09:06 +0000 (13:09 +0000)
commit64f5838550435e3b7423f2c10631bad79461cadb
tree8f9bc5829005c14e231e6ff8789324e81c5e39bc
parent56c390e709cf1baa0d3b83726d11f568290456e3
llvm-config: Fixup r197380, tweak for cross compilation. SYSTEM_LIBS should be --host's in BuildTools/llvm-config.

FIXME: Host's llvm-config is not generated. It's for target's.
Host tools, aka "BuildTools", in utils, do not require llvm-config to build.

For example with --host=i686-pc-mingw32 --build=linux,

  $ BuildTools/Release+Asserts/bin/llvm-config --libs support
  -lLLVMSupport
  -lpthread -lshell32 -lpsapi -limagehlp -lm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197382 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile
tools/llvm-config/Makefile