Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47 from dweomer/fix-build-on-arm
Browse files Browse the repository at this point in the history
build: remove -fno-PIC from extldflags
  • Loading branch information
dweomer authored May 14, 2020
2 parents 3166266 + 3b15be0 commit 8595109
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 @@ -73,7 +73,7 @@ endif
GO_BUILDTAGS += ${DEBUG_TAGS}
GO_TAGS=$(if $(GO_BUILDTAGS),-tags "$(GO_BUILDTAGS)",)

GO_EXTLDFLAGS ?= -fno-PIC -static
GO_EXTLDFLAGS ?= -static
GO_LDFLAGS ?= $(EXTRA_LDFLAGS)
GO_LDFLAGS += -X ${PKG}/pkg/version.Version=$(VERSION)
GO_LDFLAGS += -X ${PKG}/pkg/version.GitCommit=$(REVISION)
Expand Down

0 comments on commit 8595109

Please sign in to comment.