summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-05-04 20:10:58 -0400
committerFranklin Wei <git@fwei.tk>2017-05-04 20:10:58 -0400
commitf15c117a8f2e6067cf92eac2d333f12ba310bd64 (patch)
tree7957c3d1a4b26a809cfd795f74552e51380a070c /apps
parent4bc3bfe612fd1c110047e0ab97d93acd312663c2 (diff)
puzzles: fix optimization flags
Change-Id: Ib0524fd4594e9524612eca0da54b3d13dc79b22c
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/puzzles/puzzles.make20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/plugins/puzzles/puzzles.make b/apps/plugins/puzzles/puzzles.make
index 1041fde146..c855600e9d 100644
--- a/apps/plugins/puzzles/puzzles.make
+++ b/apps/plugins/puzzles/puzzles.make
@@ -10,29 +10,29 @@
PUZZLES_SRCDIR = $(APPSDIR)/plugins/puzzles
PUZZLES_OBJDIR = $(BUILDDIR)/apps/plugins/puzzles
-PUZZLES_SHARED_SRC := $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES)
-PUZZLES_SHARED_OBJ := $(call c2obj, $(PUZZLES_SHARED_SRC))
+PUZZLES_SHARED_SRC = $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES)
+PUZZLES_SHARED_OBJ = $(call c2obj, $(PUZZLES_SHARED_SRC))
-PUZZLES_GAMES_SRC := $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES.games)
-PUZZLES_GAMES_OBJ := $(call c2obj, $(PUZZLES_GAMES_SRC))
+PUZZLES_GAMES_SRC = $(call preprocess, $(PUZZLES_SRCDIR)/SOURCES.games)
+PUZZLES_GAMES_OBJ = $(call c2obj, $(PUZZLES_GAMES_SRC))
-PUZZLES_SRC := $(PUZZLES_GAMES_SRC) $(PUZZLES_SHARED_SRC)
-PUZZLES_OBJ := $(call c2obj, $(PUZZLES_SRC))
+PUZZLES_SRC = $(PUZZLES_GAMES_SRC) $(PUZZLES_SHARED_SRC)
+PUZZLES_OBJ = $(call c2obj, $(PUZZLES_SRC))
-PUZZLES_ROCKS := $(addprefix $(PUZZLES_OBJDIR)/sgt-, $(notdir $(PUZZLES_GAMES_SRC:.c=.rock)))
+PUZZLES_ROCKS = $(addprefix $(PUZZLES_OBJDIR)/sgt-, $(notdir $(PUZZLES_GAMES_SRC:.c=.rock)))
OTHER_SRC += $(PUZZLES_SRC)
ROCKS += $(PUZZLES_ROCKS)
-PUZZLES_OPTIMIZE := -O2
+PUZZLES_OPTIMIZE = -O2
ifeq ($(MODELNAME), sansac200v2)
-PUZZLES_OPTIMIZE := -Os # tiny plugin buffer
+PUZZLES_OPTIMIZE = -Os # tiny plugin buffer
endif
# we suppress all warnings
PUZZLESFLAGS = -I$(PUZZLES_SRCDIR)/dummy \
- $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLESOPTIMIZE) \
+ $(filter-out -O%,$(PLUGINFLAGS)) $(PUZZLES_OPTIMIZE) \
-Wno-unused-parameter -Wno-sign-compare -Wno-strict-aliasing -w \
-DFOR_REAL -I$(PUZZLES_SRCDIR)/src -I$(PUZZLES_SRCDIR) -include \
$(PUZZLES_SRCDIR)/rbcompat.h