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.zip rockbox-0bdb255a4e1aa5a893aec73ea1290837277ede34.tar.gz rockbox-0bdb255a4e1aa5a893aec73ea1290837277ede34.tar.bz2 rockbox-0bdb255a4e1aa5a893aec73ea1290837277ede34.tar.xz | |
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 f49b663..520fd46 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 ROCKS += $(PUZZLES_ROCKS) endif -# Hack to suppress all warnings: -PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 \ +PUZZLESOPTIMIZE := -O3 +ifeq ($(MODELNAME), sansac200v2) +PUZZLESOPTIMIZE := -Os +endif + +# we suppress all warnings +PUZZLESFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \ -Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \ -DFOR_REAL -I$(PUZZLES_SRCDIR) ifdef PUZZLES_COMBINED |