summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-04 17:48:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-05-04 17:48:26 +0000
commitffc0827b65ff291394a9c742c1b1510b69116b8a (patch)
treed72a47d561fefa715f3bced3c28b034f1c9d7ea0
parent8639678081058d149b676727970838510aea0940 (diff)
downloadmtk-20170518-ffc0827b65ff291394a9c742c1b1510b69116b8a.zip
mtk-20170518-ffc0827b65ff291394a9c742c1b1510b69116b8a.tar.gz
mtk-20170518-ffc0827b65ff291394a9c742c1b1510b69116b8a.tar.bz2
fix lua compile configuration error
SVN-Revision: 11047
-rw-r--r--package/lua/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 2e1348f..30eac84 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -87,6 +87,8 @@ endef
define Build/Configure
endef
+TARGET_CFLAGS += -DLUA_USE_LINUX
+
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CROSS)gcc" \