diff options
Diffstat (limited to 'bpf/bpf.go')
| -rw-r--r-- | bpf/bpf.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go index deb465dd6..9c5f9cd85 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -37,11 +37,11 @@ func init() { var ( pctx = android.NewPackageContext("android/soong/bpf") - ccRule = pctx.AndroidRemoteStaticRule("ccRule", android.RemoteRuleSupports{Goma: true}, + ccRule = pctx.AndroidRemoteStaticRule("ccRule", android.RemoteRuleSupports{}, blueprint.RuleParams{ Depfile: "${out}.d", Deps: blueprint.DepsGCC, - Command: "$relPwd $ccCmd --target=bpf -c $cFlags -MD -MF ${out}.d -o $out $in", + Command: "$relPwd $ccCmd --target=bpf -mcpu=v1 -c $cFlags -MD -MF ${out}.d -o $out $in", CommandDeps: []string{"$ccCmd"}, }, "ccCmd", "cFlags") |
