Changeset

7616:a53ae6c998cf

configure: Do the same to CFLAGS and LDFLAGS in linux preset as for debian
author Kim Alvefur <zash@zash.se>
date Fri, 19 Aug 2016 16:05:36 +0200
parents 7615:940603e99032
children 7617:c6d18ee93e34
files configure
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"