Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Commit 0638a9e

Browse files
authored
fix makefile to read variables from environment and overrides (#104)
Signed-off-by: Jeev B <[email protected]>
1 parent 9ebdb93 commit 0638a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ compile:
1313
go build -o datacatalog ./cmd/main.go && mv ./datacatalog ./bin
1414

1515
.PHONY: linux_compile
16-
linux_compile: export CGO_ENABLED = 0
17-
linux_compile: export GOOS = linux
16+
linux_compile: export CGO_ENABLED ?= 0
17+
linux_compile: export GOOS ?= linux
1818
linux_compile:
1919
go build -o /artifacts/datacatalog ./cmd/
2020

0 commit comments

Comments
 (0)