Skip to content

Commit

Permalink
compileopts: remove workaround for LLVM 16
Browse files Browse the repository at this point in the history
This workaround is no longer needed now that we've switched to LLVM 17
where this bug has been fixed upstream:
espressif/llvm-project#84
  • Loading branch information
aykevl authored and deadprogram committed Feb 19, 2024
1 parent f529b60 commit a2588d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compileopts/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ func (c *Config) CFlags(libclang bool) []string {
cflags = append(cflags,
"-resource-dir="+resourceDir,
)
if strings.HasPrefix(c.Triple(), "xtensa") {
// workaround needed in LLVM 16, see: https://github.com/espressif/llvm-project/issues/83
cflags = append(cflags, "-isystem", filepath.Join(resourceDir, "include"))
}
}
switch c.Target.Libc {
case "darwin-libSystem":
Expand Down

0 comments on commit a2588d8

Please sign in to comment.