From 999392640e3a91438e3dbea106c837e2dbb26333 Mon Sep 17 00:00:00 2001 From: jguer Date: Thu, 10 Dec 2020 00:15:00 +0100 Subject: [PATCH] fix(makefile): add pacman>6 checking to makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2a22c149..3d0abc82 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,8 @@ POTFILE := default.pot POFILES := $(addprefix $(LOCALEDIR)/,$(addsuffix .po,$(LANGS))) MOFILES := $(POFILES:.po=.mo) -GOFLAGS ?= -v -trimpath -mod=readonly -modcacherw +GOFLAGS ?= -v -trimpath -modcacherw +GOFLAGS += $(shell pacman -T 'pacman>6' && echo "-tags six") EXTRA_GOFLAGS ?= -buildmode=pie LDFLAGS := $(LDFLAGS) -X "main.yayVersion=${VERSION}" -X "main.localePath=${SYSTEMLOCALEPATH}"