summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/lua.make
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-10-11 20:55:47 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-10-11 20:55:47 +0000
commite99dd1898ec346e9c7ca4dbd266b9a305c1441d8 (patch)
tree0b0a49350c860b4e63876ee63fb91f887cb3dd72 /apps/plugins/lua/lua.make
parent74d3671af2c718ae30c66d223f8043bee29406de (diff)
downloadrockbox-e99dd1898ec346e9c7ca4dbd266b9a305c1441d8.tar.gz
rockbox-e99dd1898ec346e9c7ca4dbd266b9a305c1441d8.zip
Make sure to use $(CFLAGS) to get all defines when preprocessing actions.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23119 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lua/lua.make')
-rw-r--r--apps/plugins/lua/lua.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/lua.make b/apps/plugins/lua/lua.make
index 4f44b2a90c..e274053d66 100644
--- a/apps/plugins/lua/lua.make
+++ b/apps/plugins/lua/lua.make
@@ -33,7 +33,7 @@ endif
$(LUA_BUILDDIR)/lua.rock: $(LUA_OBJ) $(LUA_BUILDDIR)/actions.lua $(LUA_BUILDDIR)/buttons.lua $(LUA_BUILDDIR)/rocklib_aux.o
$(LUA_BUILDDIR)/actions.lua: $(LUA_OBJ)
- $(call PRINTS,GEN $(@F))$(CC) $(INCLUDES) -E $(APPSDIR)/action.h | $(LUA_SRCDIR)/action_helper.pl > $(LUA_BUILDDIR)/actions.lua
+ $(call PRINTS,GEN $(@F))$(CC) $(CFLAGS) $(INCLUDES) -E $(APPSDIR)/action.h | $(LUA_SRCDIR)/action_helper.pl > $(LUA_BUILDDIR)/actions.lua
$(LUA_BUILDDIR)/buttons.lua: $(LUA_OBJ)
$(SILENT)$(CC) $(INCLUDES) -dM -E -include button-target.h - < /dev/null | $(LUA_SRCDIR)/button_helper.pl | $(HOSTCC) -fno-builtin $(INCLUDES) -x c -o $(LUA_BUILDDIR)/button_helper -