aicra compilation optimisation to gain 20% executable size
This commit is contained in:
parent
9def4e6c03
commit
37efb58b7b
|
@ -23,7 +23,7 @@ func compile(source, build string) {
|
|||
// 3. Compile
|
||||
clifmt.Align(" + compile")
|
||||
stdout, err := exec.Command("go",
|
||||
"build", "-buildmode=plugin",
|
||||
"build", "-ldflags", "-s -w", "-buildmode=plugin",
|
||||
"-o", build,
|
||||
source,
|
||||
).Output()
|
||||
|
|
Loading…
Reference in New Issue