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

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

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