i have tried that. if i use TAGS=nolzma with CGA_ENABLED=1. there will be no difference without TAGS=nolzma. it appears the same error.
but using CGA_ENABLED=0 while TAGS=nolzma. it appears following error:
go build -ldflags “-X github.com/mendersoftware/mender/conf.Version=412268f” -tags ‘nolzma’
store/dbstore.go:23:2: build constraints exclude all Go files in /home/rui/go/src/github.com/mendersoftware/mender/vendor/github.com/bmatsuo/lmdb-go/lmdb
Makefile:75: recipe for target ‘mender’ failed
make: *** [mender] Error 1
i understand it, it still want to include all the lzma package.