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
Этот коммит содержится в:
родитель
f529b6071d
коммит
a2588d8db3
1 изменённых файлов: 0 добавлений и 4 удалений
|
@ -280,10 +280,6 @@ func (c *Config) CFlags(libclang bool) []string {
|
||||||
cflags = append(cflags,
|
cflags = append(cflags,
|
||||||
"-resource-dir="+resourceDir,
|
"-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 {
|
switch c.Target.Libc {
|
||||||
case "darwin-libSystem":
|
case "darwin-libSystem":
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче