#556 fix makefile err in some env

This commit is contained in:
jiangqucheng 2023-03-16 05:05:16 +00:00
parent c2c61a5905
commit ddd3cfa4bf

View File

@ -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