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 Oct 15, 2024
1 parent 173ed6d commit eee3ed9
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 @@ -44,7 +44,7 @@ build-linux:
ifeq (${GO_VERSION}, 0)
$(error build requies go version 1.16.n or higher)
endif
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o flasher \
CGO_ENABLED=0 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 eee3ed9

Please sign in to comment.