aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2011-09-23 08:51:58 -0700
committerEugene Sandulenko2011-09-23 08:51:58 -0700
commit1ad388127aa6aacd0b04b2eb5e4047382ea10b97 (patch)
treeefb45da0297cb35a1c80a1b3966cdda4a74c2b62 /engines
parent077acc5575a1918850e38df06d72579583f55053 (diff)
parent9aad73be5ef35065b8a9b63958b39184083e0700 (diff)
downloadscummvm-rg350-1ad388127aa6aacd0b04b2eb5e4047382ea10b97.tar.gz
scummvm-rg350-1ad388127aa6aacd0b04b2eb5e4047382ea10b97.tar.bz2
scummvm-rg350-1ad388127aa6aacd0b04b2eb5e4047382ea10b97.zip
Merge pull request #86 from tsoliman/maemo-master-rebased-2
MAEMO: New version of the port
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/module.mk7
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