diff --git a/solenv/gbuild/platform/IOS_ARM_GCC.mk b/solenv/gbuild/platform/IOS_ARM_GCC.mk index a1f0ba042a13..7656bdd99862 100644 --- a/solenv/gbuild/platform/IOS_ARM_GCC.mk +++ b/solenv/gbuild/platform/IOS_ARM_GCC.mk @@ -88,7 +88,7 @@ gb_DEBUG_CFLAGS := -g -fno-inline # ObjCxxObject class define gb_ObjCxxObject__command -$(call gb_Output_announce,$(2),$(true),OCX,3) +$(call gb_Output_announce,$(2).mm,$(true),OCX,3) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $(1)) $(dir $(4)) && \ $(gb_CXX) \ @@ -106,7 +106,7 @@ endef # ObjCObject class define gb_ObjCObject__command -$(call gb_Output_announce,$(2),$(true),OCC,3) +$(call gb_Output_announce,$(2).m,$(true),OCC,3) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $(1)) && \ mkdir -p $(dir $(call gb_ObjCObject_get_dep_target,$(2))) && \ diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index fe3aa9621c0a..984621f53d10 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -101,7 +101,7 @@ gb_COMPILERNOOPTFLAGS := -O0 # ObjCxxObject class define gb_ObjCxxObject__command -$(call gb_Output_announce,$(2),$(true),OCX,3) +$(call gb_Output_announce,$(2).mm,$(true),OCX,3) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $(1)) $(dir $(4)) && \ $(gb_CXX) \ @@ -120,7 +120,7 @@ endef # ObjCObject class define gb_ObjCObject__command -$(call gb_Output_announce,$(2),$(true),OCC,3) +$(call gb_Output_announce,$(2).m,$(true),OCC,3) $(call gb_Helper_abbreviate_dirs,\ mkdir -p $(dir $(1)) $(dir $(4)) && \ $(gb_CC) \