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

Commit 8595109

Browse files
authored
Merge pull request #47 from dweomer/fix-build-on-arm
build: remove -fno-PIC from extldflags
2 parents 3166266 + 3b15be0 commit 8595109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ endif
7373
GO_BUILDTAGS += ${DEBUG_TAGS}
7474
GO_TAGS=$(if $(GO_BUILDTAGS),-tags "$(GO_BUILDTAGS)",)
7575

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

0 commit comments

Comments
 (0)