From 73c5650b178b249f421620c525c22ad0fd25539a Mon Sep 17 00:00:00 2001 From: Grvzard Date: Tue, 28 May 2024 20:19:30 +0800 Subject: [PATCH] build: change usage of `grep` for better compatibility --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6bb299c7..29f580c5 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ ADDITION = go build -o w$(NAME).exe -trimpath -ldflags "-H windowsgui $(LDFLAGS) else OUTPUT = $(NAME) endif -ifeq ($(shell echo "$(GOARCH)" | grep -Pq "(mips|mipsle)" && echo true),true) # +ifeq ($(shell echo "$(GOARCH)" | grep -Eq "(mips|mipsle)" && echo true),true) # ADDITION = GOMIPS=softfloat go build -o $(NAME)_softfloat -trimpath -ldflags "$(LDFLAGS)" -v $(MAIN) endif .PHONY: clean