diff options
author | Colin Cross <ccross@android.com> | 2015-11-20 15:35:00 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-11-23 14:55:26 -0800 |
commit | c5c24ade6335455ea006499ee7ae449d89e56514 (patch) | |
tree | d825c9445873da7096a3853d550bee5c835c2702 /cc/x86_darwin_host.go | |
parent | eeabb89426623877f9bc5dafe16e39a2a0cf23d0 (diff) | |
download | build_soong-c5c24ade6335455ea006499ee7ae449d89e56514.tar.gz build_soong-c5c24ade6335455ea006499ee7ae449d89e56514.tar.bz2 build_soong-c5c24ade6335455ea006499ee7ae449d89e56514.zip |
Add arch features
Allow architecture toolchains to register "features" supported by the
current variant, and then apply properties from the selected features.
Equivalent to the ARCH_*_HAS_* variables in the combo makefiles.
Change-Id: Ib6823be1c1a52da677d081db9f24336a072eaf39
Diffstat (limited to 'cc/x86_darwin_host.go')
-rw-r--r-- | cc/x86_darwin_host.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/x86_darwin_host.go b/cc/x86_darwin_host.go index be409334..4195dae3 100644 --- a/cc/x86_darwin_host.go +++ b/cc/x86_darwin_host.go @@ -198,11 +198,11 @@ func (t *toolchainDarwinX8664) ClangLdflags() string { var toolchainDarwinX86Singleton Toolchain = &toolchainDarwinX86{} var toolchainDarwinX8664Singleton Toolchain = &toolchainDarwinX8664{} -func darwinX86ToolchainFactory(archVariant string, cpuVariant string) Toolchain { +func darwinX86ToolchainFactory(arch common.Arch) Toolchain { return toolchainDarwinX86Singleton } -func darwinX8664ToolchainFactory(archVariant string, cpuVariant string) Toolchain { +func darwinX8664ToolchainFactory(arch common.Arch) Toolchain { return toolchainDarwinX8664Singleton } |