feat: support compiler-rt
This commit is contained in:
@@ -17,6 +17,7 @@ type Config struct {
|
||||
|
||||
// Compiler and linker configuration
|
||||
Libc string `json:"libc"`
|
||||
RTLib string `json:"rtlib"`
|
||||
Linker string `json:"linker"`
|
||||
LinkerScript string `json:"linkerscript"`
|
||||
CFlags []string `json:"cflags"`
|
||||
|
||||
@@ -137,6 +137,9 @@ func (l *Loader) mergeConfig(dst, src *Config) {
|
||||
if src.Libc != "" {
|
||||
dst.Libc = src.Libc
|
||||
}
|
||||
if src.RTLib != "" {
|
||||
dst.RTLib = src.RTLib
|
||||
}
|
||||
if src.Linker != "" {
|
||||
dst.Linker = src.Linker
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user