Skip to content

Commit 7c9025c

Browse files
committed
compileopts: remove workaround for LLVM 16
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
1 parent 36d60b8 commit 7c9025c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compileopts/config.go

-4
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,6 @@ func (c *Config) CFlags(libclang bool) []string {
286286
cflags = append(cflags,
287287
"-resource-dir="+resourceDir,
288288
)
289-
if strings.HasPrefix(c.Triple(), "xtensa") {
290-
// workaround needed in LLVM 16, see: https://github.com/espressif/llvm-project/issues/83
291-
cflags = append(cflags, "-isystem", filepath.Join(resourceDir, "include"))
292-
}
293289
}
294290
switch c.Target.Libc {
295291
case "darwin-libSystem":

0 commit comments

Comments
 (0)