Skip to content

Commit

Permalink
Remove unnecessary makefile option
Browse files Browse the repository at this point in the history
  • Loading branch information
Kioubit committed Jan 4, 2022
1 parent 48486cc commit d8c439a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BINARY=pndpd
MODULES=
VERSION=`git describe --tags`
LDFLAGS=-ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD}"
LDFLAGS=-ldflags "-X main.Version=${VERSION}"

build:
go build -tags=${MODULES} -o bin/${BINARY} .
Expand All @@ -18,4 +18,4 @@ release-all:

clean:
find bin/ -type f -delete
if [ -d "bin/" ]; then rm -d bin/ ;fi
if [ -d "bin/" ]; then rm -d bin/ ;fi

0 comments on commit d8c439a

Please sign in to comment.