supports linkerscript

This commit is contained in:
Li Jie
2025-08-16 10:47:39 +08:00
parent e580ecc55c
commit b650a546cd
3 changed files with 15 additions and 5 deletions

View File

@@ -16,9 +16,10 @@ type Config struct {
GOARCH string `json:"goarch"`
// Compiler and linker configuration
Linker string `json:"linker"`
CFlags []string `json:"cflags"`
LDFlags []string `json:"ldflags"`
Linker string `json:"linker"`
LinkerScript string `json:"linkerscript"`
CFlags []string `json:"cflags"`
LDFlags []string `json:"ldflags"`
}
// RawConfig represents the raw JSON configuration before inheritance resolution