Skip to content

Commit

Permalink
make: Build linux in debug and statically
Browse files Browse the repository at this point in the history
  • Loading branch information
ofaurax committed Nov 24, 2023
1 parent 4612e68 commit f23120b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ build-linux:
ifeq ($(GO_VERSION), 0)
$(error build requies go version 1.16.n or higher)
endif
GOOS=linux GOARCH=amd64 go build -o flasher \
GOOS=linux GOARCH=amd64 BMCLIB_DEBUG=true go build -o flasher -tags osusergo,netgo \
-ldflags \
"-X $(LDFLAG_LOCATION).GitCommit=$(GIT_COMMIT) \
-X $(LDFLAG_LOCATION).GitBranch=$(GIT_BRANCH) \
Expand Down

0 comments on commit f23120b

Please sign in to comment.