Skip to content

Commit 946490c

Browse files
authored
fix: segmentation fault on arm64 image (#311)
Resolves #310
1 parent 9bdf93a commit 946490c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth_server/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BUILD_ID ?= $(shell go run ./gen_version.go | awk '{print $$2}')
88
all: build
99

1010
build:
11-
go build -v -ldflags="-X 'main.Version=${VERSION}' -X 'main.BuildID=${BUILD_ID}'"
11+
go build -v -ldflags="-extldflags '-static' -X 'main.Version=${VERSION}' -X 'main.BuildID=${BUILD_ID}'"
1212

1313
auth_server:
1414
@echo

0 commit comments

Comments
 (0)