chore: allow to set CGO flags in makefile (#22437)

Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
This commit is contained in:
Alexandre Gaudreault 2025-03-23 22:02:18 -04:00 committed by GitHub
parent 881448ec76
commit a628db994b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,9 @@ CURRENT_DIR=$(shell pwd)
DIST_DIR=${CURRENT_DIR}/dist
CLI_NAME=argocd
BIN_NAME=argocd
CGO_FLAG=0
# When using OSX/Darwin, you might need to enable CGO for local builds
CGO_FLAG?=0
GEN_RESOURCES_CLI_NAME=argocd-resources-gen