Skip to content

Commit

Permalink
-resource-dir flag for clang should be absolute (#2925)
Browse files Browse the repository at this point in the history
  • Loading branch information
chancila authored Sep 24, 2021
1 parent f93f505 commit 7d62d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tools/builders/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
// cgoEnvVars is the list of all cgo environment variable
cgoEnvVars = []string{"CGO_CFLAGS", "CGO_CXXFLAGS", "CGO_CPPFLAGS", "CGO_LDFLAGS"}
// cgoAbsEnvFlags are all the flags that need absolute path in cgoEnvVars
cgoAbsEnvFlags = []string{"-I", "-L", "-isysroot", "-isystem", "-iquote", "-include", "-gcc-toolchain", "--sysroot"}
cgoAbsEnvFlags = []string{"-I", "-L", "-isysroot", "-isystem", "-iquote", "-include", "-gcc-toolchain", "--sysroot", "-resource-dir"}
)

// env holds a small amount of Go environment and toolchain information
Expand Down

0 comments on commit 7d62d4c

Please sign in to comment.