Merge pull request #4571
a7ec027
gitian: remove unneeded option after last commit (Cory Fields)460b32d
build: fix broken boost chrono check on some platforms (Cory Fields)
This commit is contained in:
commit
d5a3fd10e5
2 changed files with 5 additions and 6 deletions
|
@ -392,6 +392,8 @@ AC_TRY_COMPILE([#include <sys/socket.h>],
|
||||||
[ AC_MSG_RESULT(no)]
|
[ AC_MSG_RESULT(no)]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AC_SEARCH_LIBS([clock_gettime],[rt])
|
||||||
|
|
||||||
LEVELDB_CPPFLAGS=
|
LEVELDB_CPPFLAGS=
|
||||||
LIBLEVELDB=
|
LIBLEVELDB=
|
||||||
LIBMEMENV=
|
LIBMEMENV=
|
||||||
|
@ -460,11 +462,8 @@ dnl after 1.56.
|
||||||
dnl If neither is available, abort.
|
dnl If neither is available, abort.
|
||||||
dnl If sleep_for is used, boost_chrono becomes a requirement.
|
dnl If sleep_for is used, boost_chrono becomes a requirement.
|
||||||
if test x$ax_cv_boost_chrono = xyes; then
|
if test x$ax_cv_boost_chrono = xyes; then
|
||||||
dnl Allow passing extra needed dependency libraries for boost-chrono from static gitian build
|
|
||||||
BOOST_CHRONO_LIB="$BOOST_CHRONO_LIB $BOOST_CHRONO_EXTRALIBS"
|
|
||||||
|
|
||||||
TEMP_LIBS="$LIBS"
|
TEMP_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $BOOST_LIBS $BOOST_CHRONO_LIB"
|
LIBS="$BOOST_LIBS $BOOST_CHRONO_LIB $LIBS"
|
||||||
TEMP_CPPFLAGS="$CPPFLAGS"
|
TEMP_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
|
@ -486,7 +485,7 @@ fi
|
||||||
|
|
||||||
if test x$boost_sleep != xyes; then
|
if test x$boost_sleep != xyes; then
|
||||||
TEMP_LIBS="$LIBS"
|
TEMP_LIBS="$LIBS"
|
||||||
LIBS="$LIBS $BOOST_LIBS"
|
LIBS="$BOOST_LIBS $LIBS"
|
||||||
TEMP_CPPFLAGS="$CPPFLAGS"
|
TEMP_CPPFLAGS="$CPPFLAGS"
|
||||||
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
|
||||||
AC_TRY_LINK([
|
AC_TRY_LINK([
|
||||||
|
|
|
@ -59,7 +59,7 @@ script: |
|
||||||
local: *;
|
local: *;
|
||||||
};' > $LINKER_SCRIPT
|
};' > $LINKER_SCRIPT
|
||||||
function do_configure {
|
function do_configure {
|
||||||
./configure "$@" --enable-upnp-default --prefix=$STAGING --with-protoc-bindir=$STAGING/host/bin --with-qt-bindir=$STAGING/bin --with-boost=$STAGING --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib -Wl,--version-script=$LINKER_SCRIPT ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}" BOOST_CHRONO_EXTRALIBS="-lrt" --enable-glibc-back-compat
|
./configure "$@" --enable-upnp-default --prefix=$STAGING --with-protoc-bindir=$STAGING/host/bin --with-qt-bindir=$STAGING/bin --with-boost=$STAGING --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib -Wl,--version-script=$LINKER_SCRIPT ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}" --enable-glibc-back-compat
|
||||||
}
|
}
|
||||||
#
|
#
|
||||||
cd bitcoin
|
cd bitcoin
|
||||||
|
|
Loading…
Reference in a new issue