Skip to content

Commit

Permalink
fix makefile to read variables from environment and overrides (flyteo…
Browse files Browse the repository at this point in the history
…rg#554)

Signed-off-by: Jeev B <[email protected]>
Signed-off-by: Pradithya Aria <[email protected]>
  • Loading branch information
jeevb authored and Pradithya Aria committed Apr 18, 2023
1 parent 9e92736 commit dbf1402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ update_boilerplate:
@boilerplate/update.sh

.PHONY: linux_compile
linux_compile: export CGO_ENABLED = 0
linux_compile: export GOOS = linux
linux_compile: export CGO_ENABLED ?= 0
linux_compile: export GOOS ?= linux
linux_compile:
go build -o /artifacts/flytepropeller ./cmd/controller/main.go
go build -o /artifacts/flytepropeller-manager ./cmd/manager/main.go
Expand Down

0 comments on commit dbf1402

Please sign in to comment.