diff --git a/source/backend/utils/Makefile b/source/backend/utils/Makefile index 3f31b22f5..1b2e4e372 100644 --- a/source/backend/utils/Makefile +++ b/source/backend/utils/Makefile @@ -103,6 +103,7 @@ ifeq ($(USING_JUCE),true) $(OBJDIR)/CachedPlugins.cpp.o: BUILD_CXX_FLAGS += -std=gnu++14 endif $(OBJDIR)/CarlaUtils.cpp.o: BUILD_CXX_FLAGS += -ObjC++ + $(OBJDIR)/Windows.cpp.o: BUILD_CXX_FLAGS += -ObjC++ endif diff --git a/source/bridges-plugin/Makefile b/source/bridges-plugin/Makefile index ce514b3e8..5c5a9bcc0 100644 --- a/source/bridges-plugin/Makefile +++ b/source/bridges-plugin/Makefile @@ -349,7 +349,7 @@ $(OBJDIR)/CarlaEng%.cpp.o: $(CWD)/backend/engine/CarlaEng%.cpp @echo "Compiling CarlaEng$*.cpp (bridge)" $(SILENT)$(CXX) $< $(BUILD_CXX_FLAGS) $(NATIVE_BUILD_FLAGS) -c -o $@ -$(OBJDIR)/CarlaPluginJSFX.cpp.o BUILD_CXX_FLAGS += $(YSFX_FLAGS) +$(OBJDIR)/CarlaPluginJSFX.cpp.o: BUILD_CXX_FLAGS += $(YSFX_FLAGS) $(OBJDIR)/CarlaPluginJuce.cpp.o: BUILD_CXX_FLAGS += -std=gnu++14