Teach lit to filter the host LDFLAGS down from the build system and into
authorChandler Carruth <chandlerc@gmail.com>
Tue, 21 Oct 2014 00:36:28 +0000 (00:36 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 21 Oct 2014 00:36:28 +0000 (00:36 +0000)
commit14e55b16dfc37df6e7fb0725ea697c32e7c7beb3
tree0fabe512f610efddac72dcad50c524edc0d2c886
parent82805eb232b901d54f9d2271877f17aa53888d79
Teach lit to filter the host LDFLAGS down from the build system and into
the CGO build environment. This lets things like -rpath propagate down
to the C++ code that is built along side the Go bindings when testing
them.

Patch by Peter Collingbourne, and verified that it works by me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220252 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake
test/Bindings/Go/go.test
test/Bindings/Go/lit.local.cfg
test/Makefile
test/lit.site.cfg.in