build: make goflags overridable

pull/220/head
TorchedSammy 2022-12-05 15:54:31 -04:00
parent 7e516167cf
commit 1fd50197a6
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ vars:
BINDIR: '{{default .bindir__ .BINDIR}}' BINDIR: '{{default .bindir__ .BINDIR}}'
libdir__: '{{.PREFIX}}/share/hilbish' libdir__: '{{.PREFIX}}/share/hilbish'
LIBDIR: '{{default .libdir__ .LIBDIR}}' LIBDIR: '{{default .libdir__ .LIBDIR}}'
GOFLAGS: '-ldflags "-s -w"' goflags__: '-ldflags "-s -w"'
GOFLAGS: '{{default .goflags__ .GOFLAGS}}'
tasks: tasks:
default: default: