diff options
| author | Julia Hansbrough <flowerhack@google.com> | 2018-02-01 18:24:22 -0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-02-04 12:21:23 +0100 |
| commit | a1bc9d40ad7e062fd2867a8c3ecdd403dea2c6be (patch) | |
| tree | c09c8212e9da6f9218d8becc05edb7d4b7b769f0 /sys | |
| parent | 632a8c2c6c02a29c6582875951060fce9e94ab86 (diff) | |
syz/syz-extract: Update Fuchsia extractor with current Fuchsia paths.
A change in Zircon a while back moved around where sysroots are located
in Fuchsia; this update will allow for proper extraction.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/syz-extract/fuchsia.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/syz-extract/fuchsia.go b/sys/syz-extract/fuchsia.go index d7001ce2b..b0ed84edf 100644 --- a/sys/syz-extract/fuchsia.go +++ b/sys/syz-extract/fuchsia.go @@ -26,7 +26,7 @@ func (*fuchsia) prepareArch(arch *Arch) error { func (*fuchsia) processFile(arch *Arch, info *compiler.ConstInfo) (map[string]uint64, map[string]bool, error) { dir := arch.sourceDir cc := filepath.Join(dir, "buildtools", "linux-x64", "clang", "bin", "clang") - includeDir := filepath.Join(dir, "out", "build-zircon", "build-zircon-pc-x86-64", "sysroot", "include") + includeDir := filepath.Join(dir, "out", "build-zircon", "build-user-x86-64", "sysroot", "include") args := []string{"-fmessage-length=0", "-I" + includeDir} for _, incdir := range info.Incdirs { args = append(args, "-I"+filepath.Join(dir, incdir)) |
