diff options
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 |