Skip to content

deprecated: remove deprecated go build option in makefile#25

Open
ulyssefontainecagip wants to merge 1 commit intoca-gip:masterfrom
ulyssefontainecagip:fix/deprecated-go-build-parameter
Open

deprecated: remove deprecated go build option in makefile#25
ulyssefontainecagip wants to merge 1 commit intoca-gip:masterfrom
ulyssefontainecagip:fix/deprecated-go-build-parameter

Conversation

@ulyssefontainecagip
Copy link

No description provided.

build-operator: test
@echo "-> Building kubi operator"
CGO_ENABLED=0 GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -v -o ./build/kubi-operator -i $(GOPATH)/src/$(REPO)/cmd/operator/main.go
CGO_ENABLED=0 GOARCH=amd64 go build -a -ldflags '-extldflags "-static"' -v -o ./build/kubi-operator $(GOPATH)/src/$(REPO)/cmd/operator/main.go
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are at it, we should remove the goarch, ldflags, the GOPATH/src/REPO pattern... Pondering why this hasn't been merged though...

@evrardjp
Copy link
Contributor

@pape07 won't it conflict with your commit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants