Apply ToolchainLdflags to clang builds
Otherwise we're missing -m32 and -m64 in x86/x86_64 builds.
Change-Id: If63cc6ce12795921584437e4cee4530c0dfb634f
diff --git a/cc/cc.go b/cc/cc.go
index b909cc0..bc48622 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -613,8 +613,8 @@
flags.GlobalFlags = append(flags.GlobalFlags, toolchain.ToolchainClangCflags())
} else {
flags.GlobalFlags = append(flags.GlobalFlags, toolchain.ToolchainCflags())
- flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainLdflags())
}
+ flags.LdFlags = append(flags.LdFlags, toolchain.ToolchainLdflags())
flags = c.ccModuleType().flags(ctx, flags)