Add more whitelisted host libraries
Add AppKit, Foundation and Security to darwin for libchrome.
Add -lm and -lversion to windows for llvm.
Test: m -j libLLVMObject
Change-Id: Ie5c922d3fbb41fba1de5f1ce9e530683bf411c5a
diff --git a/cc/config/x86_darwin_host.go b/cc/config/x86_darwin_host.go
index a6d4aaf..18acef8 100644
--- a/cc/config/x86_darwin_host.go
+++ b/cc/config/x86_darwin_host.go
@@ -100,8 +100,11 @@
"pthread",
"z",
}, "-l"),
+ "-framework AppKit",
"-framework CoreFoundation",
+ "-framework Foundation",
"-framework IOKit",
+ "-framework Security",
)
)