Skip to content

Commit

Permalink
added unoptimized compile flags for a debug version to enable remote …
Browse files Browse the repository at this point in the history
…debugging
  • Loading branch information
dbotwinick committed Nov 24, 2023
1 parent ea0e387 commit 5fe3cbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ juicefs: Makefile cmd/*.go pkg/*/*.go go.*
go version
go build -ldflags="$(LDFLAGS)" -o juicefs .

juicefs.debug: Makefile cmd/*.go pkg/*/*.go go.*
go version
go build -ldflags="$(LDFLAGS)" -gcflags="all=-N -l" -o juicefs .

juicefs.lite: Makefile cmd/*.go pkg/*/*.go
go build -tags nogateway,nowebdav,nocos,nobos,nohdfs,noibmcos,noobs,nooss,noqingstor,noscs,nosftp,noswift,noupyun,noazure,nogs,noufile,nob2,nonfs,nosqlite,nomysql,nopg,notikv,nobadger,noetcd \
-ldflags="$(LDFLAGS)" -o juicefs.lite .
Expand Down

0 comments on commit 5fe3cbb

Please sign in to comment.