From a1bc9d40ad7e062fd2867a8c3ecdd403dea2c6be Mon Sep 17 00:00:00 2001 From: Julia Hansbrough Date: Thu, 1 Feb 2018 18:24:22 -0800 Subject: 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. --- sys/syz-extract/fuchsia.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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)) -- cgit mrf-deployment