From cc8e10e4be5a3918e88ca754d42b8b6e28e560f8 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 16 May 2016 03:10:58 +0200 Subject: [PATCH] Travis: Build Lua 5.3 with -DLUA_USE_APICHECK (#907) This defines some assertions in Lua that should catch API misuses. It might be that Lua is a bit slower due to this, but so what? Fixes: https://github.com/awesomeWM/awesome/issues/740 Signed-off-by: Uli Schlachter --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e3028fad..f769b9b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ install: wget http://www.lua.org/ftp/lua-5.3.2.tar.gz -O lua.tar.gz tar -xvzf lua.tar.gz cd lua-* - (cd src && make SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so) || exit 1 + (cd src && make SYSCFLAGS="-DLUA_USE_LINUX -ULUA_COMPAT_5_2 -DLUA_USE_APICHECK" SYSLIBS="-Wl,-E -ldl -lreadline" LUA_A=liblua.so MYCFLAGS="-fPIC" RANLIB=: AR="gcc -shared -ldl -o" liblua.so) || exit 1 sudo make INSTALL_TOP=/usr/ INSTALL_INC=${LUAINCLUDE} TO_LIB=liblua.so linux install || exit 1 cd .. elif [[ "$LUANAME" == "luajit-2.0" ]]; then