I'm sorry, there is likely something obvious im missing...
My project has to set CGO_LDFLAGS_ALLOW to handle a dependent library. I can find no way to set that at a per-project level in my project config outside of re-defining the entire builder system in my project settings..
MYProject.sublime-project:
{
"folders":
[
{
"path": "/Users/eddie/Development/studio-light"
}
],
"settings":{
"env": {
"CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings",
},
"CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings",
"golang":{
"CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings",
"env": {
"CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings",
},
}
},
// This overrides go build completely, not what I want. Excluding cmd throws an error.
"build_systems":[
{
"name":"Go",
"cmd":"go",
"env": {
"CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings",
}
}
]
}
I'm sorry, there is likely something obvious im missing...
My project has to set
CGO_LDFLAGS_ALLOWto handle a dependent library. I can find no way to set that at a per-project level in my project config outside of re-defining the entire builder system in my project settings..MYProject.sublime-project:
{ "folders": [ { "path": "/Users/eddie/Development/studio-light" } ], "settings":{ "env": { "CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings", }, "CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings", "golang":{ "CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings", "env": { "CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings", }, } }, // This overrides go build completely, not what I want. Excluding cmd throws an error. "build_systems":[ { "name":"Go", "cmd":"go", "env": { "CGO_LDFLAGS_ALLOW":"-fconstant-cfstrings", } } ] }