Compare commits

..

1 Commits

Author SHA1 Message Date
Lea Anthony
c9ea4d8f88 Remove incorrect build flag 2020-09-15 17:50:13 +10:00

View File

@@ -216,10 +216,6 @@ func BuildNative(binaryName string, forceRebuild bool, buildMode string, project
buildCommand.Add("go")
buildCommand.Add("build")
if buildMode == BuildModeBridge {
// Ignore errors
buildCommand.Add("-i")
}
if binaryName != "" {
// Alter binary name based on OS
@@ -557,7 +553,7 @@ func ldFlags(po *ProjectOptions, buildMode string) string {
}
// Add windows flags
if po.Platform == "windows" {
if po.Platform == "windows" && buildMode == BuildModeProd {
ldflags += "-H windowsgui "
}