From ddd3cfa4bf00508a0937915ee8f43bef93f898e2 Mon Sep 17 00:00:00 2001 From: jiangqucheng Date: Thu, 16 Mar 2023 05:05:16 +0000 Subject: [PATCH] #556 fix makefile err in some env --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 028641b..58a28bf 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ defines=standard cxxstd=c++11 # set cxxstd=any to disable use of -std=... -BUILD=build/make-$(CXX)-$(config)-$(defines)-$(cxxstd) +BUILD=build/make-$(firstword $(CXX))-$(config)-$(defines)-$(cxxstd) SOURCES=src/pugixml.cpp $(filter-out tests/fuzz_%,$(wildcard tests/*.cpp)) EXECUTABLE=$(BUILD)/test