From 391804712ced65c85a57038d2b8bd9bb6ded631e Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Fri, 19 Aug 2016 16:05:36 +0200
Subject: configure: Do the same to CFLAGS and LDFLAGS in linux preset as for
 debian

---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'configure')

diff --git a/configure b/configure
index d76180a3..48ac5fa4 100755
--- a/configure
+++ b/configure
@@ -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"
-- 
cgit v1.2.3