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.
This commit is contained in:
Martin Pulec
2024-01-02 13:05:26 +01:00
parent 20648d944a
commit 2da425de46

View File

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