Do not force pthread and add more diagnostic

This commit is contained in:
Sergey Yelin 2011-07-18 18:26:48 +04:00
parent 7768ac22e0
commit e874dbf319
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ rm -rf system db-${DB_VER}
tar -xzf db-${DB_VER}.tar.gz && \
##(cd db-${DB_VER} && patch -p0 < ../bdb-align.patch ) && \
(cd db-${DB_VER}/build_unix && \
../dist/configure --prefix=$WORKDIR --enable-diagnostic --enable-debug --disable-replication --disable-shared --with-pic && make && ranlib libdb-*.a && make install) && \
../dist/configure --prefix=$WORKDIR --enable-diagnostic --enable-debug --disable-shared --enable-perfmon-statistics --enable-dtrace && make && ranlib libdb-*.a && make install) && \
rm -rf db-${DB_VER}

View file

@ -1,6 +1,6 @@
{port_envs, [
{"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include -lpthread"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libdb.a -lpthread"}
{"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libdb.a"}
]}.
{cover_enabled, true}.