diff --git a/compileopts/config.go b/compileopts/config.go index 14d16223c9..9349738a4a 100644 --- a/compileopts/config.go +++ b/compileopts/config.go @@ -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":