From f502d332bccffa18ef961fd3d6330fd07325a75c Mon Sep 17 00:00:00 2001 From: "Valeriano A.R" Date: Thu, 30 Dec 2021 16:49:38 +0100 Subject: [PATCH] Fix Makefile's BUILDDIR definition --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f06ac2d..6b4979a 100644 --- a/Makefile +++ b/Makefile @@ -3,10 +3,10 @@ IsMinGW := $(findstring MSYS,$(shell uname -s))$(findstring MINGW,$(shell uname -s)) ifneq (,$(IsMinGW)) RES_APP := filesync.exe - BUILDDIR := build-$(shell gcc -v 2>&1 | grep "Target:" | cut --delimiter=' ' --fields=2) + BUILDDIR := build-$(shell gcc -dumpmachine) else RES_APP := filesync - BUILDDIR := build-$(shell gcc -v 2>&1 | grep "Target:" | cut --delimiter=' ' --fields=2) + BUILDDIR := build-$(shell gcc -dumpmachine) endif VERBOSE_BUILD=false