mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
KYRA: workaround to get maemo to even compile
kyra has a file that won't compile in -Os
This commit is contained in:
parent
b044ae6b98
commit
4cd9c16867
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user