From 545c4e570afc01c3e8e9e9e362898719cfae1c5d Mon Sep 17 00:00:00 2001 From: vegbir Date: Tue, 16 May 2023 10:38:55 +0800 Subject: [PATCH] rubik: fix compilation options Signed-off-by: vegbir --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4df9532..0db9141 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ GIT_COMMIT := $(if $(shell git rev-parse --short HEAD),$(shell git rev-parse --s DEBUG_FLAGS := -gcflags="all=-N -l" EXTRALDFLAGS := -extldflags=-ftrapv \ - -extldflags=-Wl,-z,relro,-z,now -linkmode=external -extldflags=-static + -extldflags=-Wl,-z,relro,-z,now -linkmode=external -extldflags=-static-pie LD_FLAGS := -ldflags '-buildid=none -tmpdir=$(TMP_DIR) \ -X isula.org/rubik/pkg/version.GitCommit=$(GIT_COMMIT) \ -- Gitee