[v2, build] gcflags don't need to be quoted (#1689)

This seemed to work for Go < 1.19 but since 1.19 this gives
an error.
This commit is contained in:
stffabi
2022-08-03 17:15:56 +10:00
committed by GitHub
parent 568015972a
commit 42ef125fb4
+1 -1
View File
@@ -171,7 +171,7 @@ func (b *BaseBuilder) CompileProject(options *Options) error {
// Add better debugging flags
if options.Mode == Dev || options.Mode == Debug {
commands.Add("-gcflags")
commands.Add(`"all=-N -l"`)
commands.Add("all=-N -l")
}
if options.ForceBuild {