From 0bdb255a4e1aa5a893aec73ea1290837277ede34 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 15 Jan 2017 14:07:18 -0500 Subject: puzzles: fix building on c200v2 - disables Solo and Loopy Change-Id: I3de15c0ad001683a4303950972af2f5988d438d0 --- apps/plugins/puzzles/puzzles.make | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'apps/plugins/puzzles/puzzles.make') 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 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 -- cgit v1.2.3