aboutsummaryrefslogtreecommitdiffstats
path: root/package/lua/Makefile
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
commitfc23bb932f38a47a8dcee30140c30e223f341b2f (patch)
treebab1eb4e0ed417beb4764e44b987cc5f34db02d6 /package/lua/Makefile
parenteeae3ce9e175ebfa33b5d7182b10d71c809a616f (diff)
downloadupstream-fc23bb932f38a47a8dcee30140c30e223f341b2f.tar.gz
upstream-fc23bb932f38a47a8dcee30140c30e223f341b2f.tar.bz2
upstream-fc23bb932f38a47a8dcee30140c30e223f341b2f.zip
fix lua compile configuration error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11047 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/Makefile')
-rw-r--r--package/lua/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 2e1348f1c1..30eac84cc7 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" \