fix(make): Make makefile more like the arch default.
continuous-integration/drone/push Build is passing Details

This also fixes the AUR problem I had and forces an upgrade.
This commit is contained in:
Sam Therapy 2022-11-07 15:50:42 +01:00
parent a64a260c55
commit 2836633c62
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ CGO_ENABLED ?= 0
GO ?= go
TEST ?= $(GO) test -race -cover
COVER ?= $(GO) tool cover
GOFLAGS ?= -ldflags="-s -w -X=main.version=$(HASH)" -trimpath
GOFLAGS ?= -buildmode=pie -trimpath -ldflags="-s -w -X=main.version=$(HASH) -linkmode=external"
DESTDIR :=
PREFIX ?= /usr/local