aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-07-12 15:36:34 -0700
committerDan Willemsen <dwillemsen@google.com>2016-07-12 15:41:09 -0700
commit75ab80882e6f4f48f3b3ed46c7d2ab2da9be9258 (patch)
tree4cdf8385c8be51c08d070bd733c8bf73eaa5773a
parenta6f7d156091c645b93568fbc88fcf60e08a109c5 (diff)
downloadbuild_soong-75ab80882e6f4f48f3b3ed46c7d2ab2da9be9258.tar.gz
build_soong-75ab80882e6f4f48f3b3ed46c7d2ab2da9be9258.tar.bz2
build_soong-75ab80882e6f4f48f3b3ed46c7d2ab2da9be9258.zip
Make static_executable an arch_variant
So that target executables can be static executables, and the same module can make a host executable that isn't static. Change-Id: Ibe0de001a8d1e7d59e617c244978098355718527
-rw-r--r--cc/cc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 43252f4d..4cdcdf62 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -409,7 +409,7 @@ type LibraryLinkerProperties struct {
type BinaryLinkerProperties struct {
// compile executable with -static
- Static_executable *bool
+ Static_executable *bool `android:"arch_variant"`
// set the name of the output
Stem string `android:"arch_variant"`