From 5fd96af8e4454fd8a073ca49c7bcfcf02a3e84e6 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 9 Mar 2022 13:57:36 +0100 Subject: [PATCH] Makefile.astat: build with c++ instead of g++ GCC is not always present (eg. in MSYS2 clang env). --- tools/Makefile.astat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile.astat b/tools/Makefile.astat index c224a765a..bc98fd9bd 100644 --- a/tools/Makefile.astat +++ b/tools/Makefile.astat @@ -1,6 +1,6 @@ test: - g++ -g -DASTAT_DEBUG -DDEFINE_TEST_MAIN astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread -o astat_test + c++ -g -DASTAT_DEBUG -DDEFINE_TEST_MAIN astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread -o astat_test lib: - g++ -fpic -c -std=c++11 astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread + c++ -fpic -c -std=c++11 astat.cpp ../src/compat/platform_pipe.cpp -I../src -pthread ar rcs astat.a astat.o platform_pipe.o