diff options
| author | Alexander Potapenko <glider@google.com> | 2020-05-13 11:56:28 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-05-13 13:05:41 +0200 |
| commit | 88a97d1a7aaeeb0122cce296c696ad7927ed052e (patch) | |
| tree | 4b9babbdfb6cf67dc277d6e1c7d575fca64e22cf /tools | |
| parent | ad606d93b28413409675d6a93631e15ea68b0ac2 (diff) | |
Get rid of "Cross" in variable names
Renamed Target.BrokenCrossCompiler to Target.BrokenCompiler and
Target.CrossCFlags to Target.CFlags
"Everything in Target is about Cross now."
Signed-off-by: Alexander Potapenko <glider@google.com>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-env/env.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-env/env.go b/tools/syz-env/env.go index 81a40af8a..7f2d6b345 100644 --- a/tools/syz-env/env.go +++ b/tools/syz-env/env.go @@ -59,11 +59,11 @@ func impl() ([]Var, error) { {"TARGETARCH", targetArch}, {"TARGETVMARCH", targetVMArch}, {"CC", target.CCompiler}, - {"ADDCFLAGS", strings.Join(target.CrossCFlags, " ")}, + {"ADDCFLAGS", strings.Join(target.CFlags, " ")}, {"NCORES", strconv.Itoa(parallelism)}, {"EXE", target.ExeExtension}, {"NATIVEBUILDOS", target.BuildOS}, - {"NO_CROSS_COMPILER", target.BrokenCrossCompiler}, + {"NO_CROSS_COMPILER", target.BrokenCompiler}, } return vars, nil } |
