summaryrefslogtreecommitdiff
path: root/package/lua/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/lua/Makefile')
-rw-r--r--package/lua/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 59cb96791..e7647728a 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -26,8 +26,8 @@ $(eval $(call PKG_template,LUAC,luac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS
$(eval $(call PKG_template,LUA_EXAMPLES,lua-examples,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LUAEXAMPLES},${PKG_SECTION}))
CONFIG_STYLE:= manual
-MAKE_FLAGS+= CFLAGS="${TCFLAGS} ${TCPPFLAGS} -DLUA_USE_LINUX -fPIC" \
- MYLDFLAGS="${TLDFLAGS}" \
+MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} -DLUA_USE_LINUX -fPIC" \
+ MYLDFLAGS="${TARGET_LDFLAGS}" \
CC="${TARGET_CC}" LD="${TARGET_CROSS}ld" \
AR="${TARGET_CROSS}ar rcu" \
RANLIB="${TARGET_CROSS}ranlib"