Software /
code /
prosody
Comparison
configure @ 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 |
parent | 7615:940603e99032 |
child | 7617:c6d18ee93e34 |
comparison
equal
deleted
inserted
replaced
7615:940603e99032 | 7616:a53ae6c998cf |
---|---|
126 if [ "$OSTYPE" = "linux" ]; then | 126 if [ "$OSTYPE" = "linux" ]; then |
127 LUA_INCDIR=/usr/local/include; | 127 LUA_INCDIR=/usr/local/include; |
128 LUA_INCDIR_SET=yes | 128 LUA_INCDIR_SET=yes |
129 LUA_LIBDIR=/usr/local/lib | 129 LUA_LIBDIR=/usr/local/lib |
130 LUA_LIBDIR_SET=yes | 130 LUA_LIBDIR_SET=yes |
131 CFLAGS="-Wall -fPIC -D_GNU_SOURCE" | 131 CFLAGS="$CFLAGS -ggdb -D_GNU_SOURCE" |
132 LDFLAGS="-shared" | |
133 fi | 132 fi |
134 if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then | 133 if [ "$OSTYPE" = "freebsd" -o "$OSTYPE" = "openbsd" ]; then |
135 LUA_INCDIR="/usr/local/include/lua51" | 134 LUA_INCDIR="/usr/local/include/lua51" |
136 LUA_INCDIR_SET=yes | 135 LUA_INCDIR_SET=yes |
137 CFLAGS="-Wall -fPIC -I/usr/local/include" | 136 CFLAGS="-Wall -fPIC -I/usr/local/include" |