Skip to content

Commit a2588d8

Browse files
aykevldeadprogram
authored andcommitted
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 f529b60 commit a2588d8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compileopts/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@ func (c *Config) CFlags(libclang bool) []string {
280280
cflags = append(cflags,
281281
"-resource-dir="+resourceDir,
282282
)
283-
if strings.HasPrefix(c.Triple(), "xtensa") {
284-
// workaround needed in LLVM 16, see: https://github.com/espressif/llvm-project/issues/83
285-
cflags = append(cflags, "-isystem", filepath.Join(resourceDir, "include"))
286-
}
287283
}
288284
switch c.Target.Libc {
289285
case "darwin-libSystem":

0 commit comments

Comments
 (0)