chore: fix some wrong commets

This commit is contained in:
Haolan
2025-09-09 17:45:02 +08:00
parent 6aa63121ff
commit d4474be921
7 changed files with 24 additions and 9 deletions

View File

@@ -21,10 +21,12 @@ var _libcCCFlags = []string{
"-ffreestanding",
}
// withDefaultCCFlags appends default C compiler flags to the provided flags
func withDefaultCCFlags(ccflags []string) []string {
return append(ccflags, _libcCCFlags...)
}
// GetNewlibESP32Config returns the configuration for downloading and building newlib for ESP32
func GetNewlibESP32Config() compile.LibConfig {
return compile.LibConfig{
Url: "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch3.tar.gz",

View File

@@ -7,6 +7,7 @@ import (
"github.com/goplus/llgo/internal/crosscompile/compile"
)
// GetPicolibcConfig returns the configuration for downloading and building picolibc
func GetPicolibcConfig() compile.LibConfig {
return compile.LibConfig{
Name: "picolibc",