summaryrefslogtreecommitdiff
path: root/package/lua/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-26 03:01:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-26 03:01:12 +0000
commit6db489f1b0647566b3f1d6d1939b326e93094260 (patch)
treefb451cabaad47a43671fcd6e1c376cfe8b985f82 /package/lua/Makefile
parent6a87d6682d61614282fc9e04d1b5e671e51fb8d8 (diff)
downloadmtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.zip
mtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.tar.gz
mtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.tar.bz2
lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
SVN-Revision: 18159
Diffstat (limited to 'package/lua/Makefile')
-rw-r--r--package/lua/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index b418b30..4589cfe 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -83,7 +83,7 @@ endef
define Build/Configure
endef
-TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC)
+TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
ifneq ($(CONFIG_USE_EGLIBC),)
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)