Skip to content

Commit

Permalink
Merge pull request #12 from MbolotSuse/build-fix
Browse files Browse the repository at this point in the history
Fixing build by removing unnecessary -linkmode external flag
  • Loading branch information
MbolotSuse authored Feb 16, 2022
2 parents a6663d6 + efe53bb commit 54744f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ source $(dirname $0)/version
cd $(dirname $0)/..

mkdir -p bin
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-linkmode external -extldflags -static -s"
[ "$(uname)" != "Darwin" ] && LINKFLAGS="-extldflags -static -s"
CGO_ENABLED=0 go build -ldflags "-X main.VERSION=$VERSION $LINKFLAGS" -o bin/loglevel

0 comments on commit 54744f9

Please sign in to comment.