summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/puzzles.make
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-01-15 14:07:18 -0500
committerFranklin Wei <git@fwei.tk>2017-01-15 14:29:24 -0500
commit0bdb255a4e1aa5a893aec73ea1290837277ede34 (patch)
tree4e151d42b3d026f500ac2dd982e78aab896a4a0d /apps/plugins/puzzles/puzzles.make
parentd221ca6e5b9953b678f9ee6d6d8d352cf3c01f56 (diff)
downloadrockbox-0bdb255a4e1aa5a893aec73ea1290837277ede34.tar.gz
rockbox-0bdb255a4e1aa5a893aec73ea1290837277ede34.zip
puzzles: fix building on c200v2
- disables Solo and Loopy Change-Id: I3de15c0ad001683a4303950972af2f5988d438d0
Diffstat (limited to 'apps/plugins/puzzles/puzzles.make')
-rw-r--r--apps/plugins/puzzles/puzzles.make9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index f49b663197..520fd46693 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -42,8 +42,13 @@ PUZZLES_ROCKS := $(addprefix $(PUZZLES_OBJDIR)/sgt-, $(notdir $(PUZZLES_GAMES_SR
42ROCKS += $(PUZZLES_ROCKS) 42ROCKS += $(PUZZLES_ROCKS)
43endif 43endif
44 44
45# Hack to suppress all warnings: 45PUZZLESOPTIMIZE := -O3
46PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 \ 46ifeq ($(MODELNAME), sansac200v2)
47PUZZLESOPTIMIZE := -Os
48endif
49
50# we suppress all warnings
51PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \
47 -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \ 52 -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
48 -DFOR_REAL -I$(PUZZLES_SRCDIR) 53 -DFOR_REAL -I$(PUZZLES_SRCDIR)
49ifdef PUZZLES_COMBINED 54ifdef PUZZLES_COMBINED