tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: go: shrink binaries



>> But GOFLAGS won't propagate, because many packages override it.
>> 
>> Is there a better way to achieve this?
> 
> Perhaps we can change the packages to use += ?
> Thomas

Maybe we should add GO_LDFLAGS and, if not empty, add -ldflags='${GO_LDFLAGS}' to GOFLAGS, or directly to the targets.
This way, these won't get overwritten, but rather concatenated.


Adam


Home | Main Index | Thread Index | Old Index