diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/module.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/kyra/module.mk b/engines/kyra/module.mk index 4708041cf7..abd535ee29 100644 --- a/engines/kyra/module.mk +++ b/engines/kyra/module.mk @@ -96,3 +96,10 @@ endif # Include common rules include $(srcdir)/rules.mk + +ifeq ($(BACKEND), maemo) +#ugly workaround, screen.cpp crashes gcc version 3.4.4 (CodeSourcery ARM 2005q3-2) with anything but -O3 +$(MODULE)/screen.o: $(MODULE)/screen.cpp + $(MKDIR) $(*D)/$(DEPDIR) + $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CXXFLAGS) -O3 $(CPPFLAGS) -c $(<) -o $*.o +endif |