From 2da425de469bd8688bdf05dfeb3cba0c93fa1de8 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 2 Jan 2024 13:05:26 +0100 Subject: [PATCH] make: ObjC compile cmd fix CXX was used for ObjC compilation but with some recent autoconf update to 2.72, CXX is set to "g++ -std=gnu++11" because clang there without -std uses C++98, which was perhaps mishandled by the former autoconf versions. Using CC (== gcc) corrects that. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 2f7255755..103ed7bb6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -279,7 +279,7 @@ POSTPROCESS_DEPS = \ %.o: %.m $(MKDIR_P) $(dir $@) - $(CXX) $(CFLAGS) $(INC) -MD -c $< -o $@ + $(CC) $(CFLAGS) $(INC) -MD -c $< -o $@ $(POSTPROCESS_DEPS) %.o: %.mm