diff options
author | Franklin Wei <git@fwei.tk> | 2017-01-15 14:07:18 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-01-15 14:29:24 -0500 |
commit | 0bdb255a4e1aa5a893aec73ea1290837277ede34 (patch) | |
tree | 4e151d42b3d026f500ac2dd982e78aab896a4a0d /apps/plugins/puzzles/puzzles.make | |
parent | d221ca6e5b9953b678f9ee6d6d8d352cf3c01f56 (diff) | |
download | rockbox-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.make | 9 |
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 | |||
42 | ROCKS += $(PUZZLES_ROCKS) | 42 | ROCKS += $(PUZZLES_ROCKS) |
43 | endif | 43 | endif |
44 | 44 | ||
45 | # Hack to suppress all warnings: | 45 | PUZZLESOPTIMIZE := -O3 |
46 | PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 \ | 46 | ifeq ($(MODELNAME), sansac200v2) |
47 | PUZZLESOPTIMIZE := -Os | ||
48 | endif | ||
49 | |||
50 | # we suppress all warnings | ||
51 | PUZZLESFLAGS = $(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) |
49 | ifdef PUZZLES_COMBINED | 54 | ifdef PUZZLES_COMBINED |