diff -r 940603e99032 -r a53ae6c998cf configure --- a/configure Fri Aug 19 16:03:10 2016 +0200 +++ b/configure Fri Aug 19 16:05:36 2016 +0200 @@ -128,8 +128,7 @@ LUA_INCDIR_SET=yes LUA_LIBDIR=/usr/local/lib LUA_LIBDIR_SET=yes - CFLAGS="-Wall -fPIC -D_GNU_SOURCE" - LDFLAGS="-shared" + CFLAGS="$CFLAGS -ggdb -D_GNU_SOURCE" fi if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then LUA_INCDIR="/usr/local/include/lua51"