diff --git a/mage_helpers/build.go b/mage_helpers/build.go index 7dc9396e7ec21e9296e49a6e6719f9d42996b9c4..b27588798f936041ba7f7474134877977382a120 100644 --- a/mage_helpers/build.go +++ b/mage_helpers/build.go @@ -84,6 +84,7 @@ func Build(dir string, module string, isDebug bool) error { func BuildGolangApp(outputDir string, appPath string, module string, isDebug bool) error { commandArgs := []string{ `build`, + `-tags=lambda.norpc`, fmt.Sprintf(`-ldflags=-X %v/globals.BuildVersion=%v -X %v/globals.OSType=%v -X %v/globals.IsDebugBuild=%v`, module, CurrentCommit(), module, runtime.GOOS, module, isDebug), }