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)
commit97192421e16b46c7c9035cbef7900938ff219aff
treedf4d0cb862da98d058fe8aaf5e551c53ef7c5ee7
parentdf9515324d7a759d9affa6f22e9cf80fe9cb10e6
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.

llvm-svn: 220252
llvm/cmake/modules/AddLLVM.cmake
llvm/test/Bindings/Go/go.test
llvm/test/Bindings/Go/lit.local.cfg
llvm/test/Makefile
llvm/test/lit.site.cfg.in