generated from TrueCloudLab/basic
[#9] makefile: add env CGO_ENABLED
All checks were successful
All checks were successful
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
c6859b92c1
commit
f104963409
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ test:
|
|||
|
||||
lib:
|
||||
@mkdir -pv $(OUT_DIR)
|
||||
@go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
|
||||
@CGO_ENABLED=1 go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
|
||||
|
||||
lint:
|
||||
@golangci-lint run
|
||||
|
|
Loading…
Reference in a new issue