From ee718c29b7b9361945b774cf5021a4223b6d392c Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Fri, 30 Dec 2022 06:45:53 +0300 Subject: [PATCH] :wrench: Update `Makefile` --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d21ff3557..2e859d998 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ GIT_VERSION=$(shell git branch --show-current | tr '[:upper:]' '[:lower:]') BUILD_TIMESTAMP=$(shell date +%s) export VER?=0.0 -help: +help: ## Print this help message. @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) build-debug: ## Build for debuging. @@ -19,7 +19,7 @@ build-debug: ## Build for debuging. ${MAKE} build-base build: ## Build. - export LDFLAGS_EXT='-s -w' + export LDFLAGS_EXT='-extldflags=-static -s -w' ${MAKE} build-base build-base: ## Build binary (select the platform via GOOS / GOARCH env variables).