diff options
author | Vishwath Mohan <vishwath@google.com> | 2017-03-16 11:01:23 -0700 |
---|---|---|
committer | Vishwath Mohan <vishwath@google.com> | 2017-03-16 14:06:30 -0700 |
commit | 83d9f71cc595d6a9bb194846165a47ec1779e6cd (patch) | |
tree | 296a8fdb6d6749d34deae90cf5552d32d9ef708d /cc/util.go | |
parent | a8b5502773a9aebe78503df2dfd23724a99afec5 (diff) | |
download | build_soong-83d9f71cc595d6a9bb194846165a47ec1779e6cd.tar.gz build_soong-83d9f71cc595d6a9bb194846165a47ec1779e6cd.tar.bz2 build_soong-83d9f71cc595d6a9bb194846165a47ec1779e6cd.zip |
Allow custom ar flags to be set.
Adds the ability to set custom flags for ar in Soong, similar to how
they can currently be set for make.
Bug: 36290748
Test: sanitize.go is able to correct set custom ar flags for CFI. CFI
enabled Soong components build and boot without issue.
Change-Id: I3212793aa84ba51df910c184d8bb376b3650376e
Diffstat (limited to 'cc/util.go')
-rw-r--r-- | cc/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -88,6 +88,7 @@ func moduleToLibName(module string) (string, error) { func flagsToBuilderFlags(in Flags) builderFlags { return builderFlags{ globalFlags: strings.Join(in.GlobalFlags, " "), + arFlags: strings.Join(in.ArFlags, " "), asFlags: strings.Join(in.AsFlags, " "), cFlags: strings.Join(in.CFlags, " "), conlyFlags: strings.Join(in.ConlyFlags, " "), |