diff --git a/cmd/aicra/compile.go b/cmd/aicra/compile.go index addb757..61814e9 100644 --- a/cmd/aicra/compile.go +++ b/cmd/aicra/compile.go @@ -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()