diff options
author | Ayke van Laethem <[email protected]> | 2024-02-19 15:32:31 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-02-19 23:29:44 +0100 |
commit | a2588d8db313f532394f50e94c903ad4778a736d (patch) | |
tree | 38a8a4da5a9c0993e970569e8c5b549864d2b4b3 | |
parent | f529b6071da269323704b3d3bb5e4fc92dcf6af5 (diff) | |
download | tinygo-a2588d8db313f532394f50e94c903ad4778a736d.tar.gz tinygo-a2588d8db313f532394f50e94c903ad4778a736d.zip |
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:
https://github.com/espressif/llvm-project/pull/84
-rw-r--r-- | compileopts/config.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compileopts/config.go b/compileopts/config.go index 14d16223c..9349738a4 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": |