From 1fd50197a6a8412429f906d9193b9aad0cfc35b9 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:54:31 -0400 Subject: [PATCH] build: make goflags overridable --- Taskfile.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index 54b5ea0..0170885 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -8,7 +8,8 @@ vars: BINDIR: '{{default .bindir__ .BINDIR}}' libdir__: '{{.PREFIX}}/share/hilbish' LIBDIR: '{{default .libdir__ .LIBDIR}}' - GOFLAGS: '-ldflags "-s -w"' + goflags__: '-ldflags "-s -w"' + GOFLAGS: '{{default .goflags__ .GOFLAGS}}' tasks: default: