diff options
author | Tarek Soliman | 2011-06-30 02:13:24 -0500 |
---|---|---|
committer | Tarek Soliman | 2011-09-22 22:07:44 -0500 |
commit | 4cd9c168674af7d6329b4e0f3d64cb57e865b28d (patch) | |
tree | 1902558dfd283867c95658f977cd9e77c07e52cc | |
parent | b044ae6b986b6d9d9be9a1c16270c85388078995 (diff) | |
download | scummvm-rg350-4cd9c168674af7d6329b4e0f3d64cb57e865b28d.tar.gz scummvm-rg350-4cd9c168674af7d6329b4e0f3d64cb57e865b28d.tar.bz2 scummvm-rg350-4cd9c168674af7d6329b4e0f3d64cb57e865b28d.zip |
KYRA: workaround to get maemo to even compile
kyra has a file that won't compile in -Os
-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 |