configure: Do the same to CFLAGS and LDFLAGS in linux preset as for debian

This commit is contained in:
Kim Alvefur 2016-08-19 16:05:36 +02:00
parent 5cc3f59002
commit 391804712c

3
configure vendored
View file

@ -128,8 +128,7 @@ do
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"