Skip to content

Commit

Permalink
fix: failed to build binary by make retina-binary (#129)
Browse files Browse the repository at this point in the history
Addresses issue #128

Signed-off-by: nayihz <[email protected]>
Co-authored-by: Evan Baker <[email protected]>
  • Loading branch information
nayihz and rbtr authored Apr 4, 2024
1 parent 27239a8 commit 433bdca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ site/.docusaurus/
site/node_modules/

hack/tools/bin

output
#vscode
.vscode/

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ retina: ## builds retina binary
$(MAKE) retina-binary

retina-binary: ## build the Retina binary
go generate ./...
export CGO_ENABLED=0
export CGO_ENABLED=0 && \
go generate ./... && \
go build -v -o $(RETINA_BUILD_DIR)/retina$(EXE_EXT) -gcflags="-dwarflocationlists=true" -ldflags "-X main.version=$(TAG) -X main.applicationInsightsID=$(APP_INSIGHTS_ID)" $(RETINA_DIR)/main.go

retina-capture-workload: ## build the Retina capture workload
Expand Down

0 comments on commit 433bdca

Please sign in to comment.