Teach lit to filter the host LDFLAGS down from the build system and into
[oota-llvm.git] / test / Bindings / Go / lit.local.cfg
index f366397a2b2cd2a3b344b15f1e50271ec39b0ae2..e86595b8cb5631f15fa3eb2531db4e53303a242b 100644 (file)
@@ -54,3 +54,4 @@ def fixup_compiler_path(compiler):
 
 config.environment['CC'] = fixup_compiler_path(config.host_cc)
 config.environment['CXX'] = fixup_compiler_path(config.host_cxx)
+config.environment['CGO_LDFLAGS'] = config.host_ldflags