summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/puzzles.make
diff options
context:
space:
mode:
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