|
|
@ -30,6 +30,7 @@ script: | |
|
|
|
# |
|
|
|
# |
|
|
|
STAGING=$HOME/staging |
|
|
|
STAGING=$HOME/staging |
|
|
|
HOST=i686-w64-mingw32 |
|
|
|
HOST=i686-w64-mingw32 |
|
|
|
|
|
|
|
OPTFLAGS='-O2' |
|
|
|
# |
|
|
|
# |
|
|
|
mkdir -p $STAGING |
|
|
|
mkdir -p $STAGING |
|
|
|
cd $STAGING |
|
|
|
cd $STAGING |
|
|
@ -43,12 +44,12 @@ script: | |
|
|
|
export PATH=$STAGING/host/bin:$PATH |
|
|
|
export PATH=$STAGING/host/bin:$PATH |
|
|
|
export TAR_OPTIONS=--mtime=`echo $REFERENCE_DATETIME | awk '{ print $1 }'` |
|
|
|
export TAR_OPTIONS=--mtime=`echo $REFERENCE_DATETIME | awk '{ print $1 }'` |
|
|
|
./autogen.sh |
|
|
|
./autogen.sh |
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin" |
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=$HOST --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}" |
|
|
|
make dist |
|
|
|
make dist |
|
|
|
mkdir -p distsrc |
|
|
|
mkdir -p distsrc |
|
|
|
cd distsrc |
|
|
|
cd distsrc |
|
|
|
tar --strip-components=1 -xf ../bitcoin-*.tar.* |
|
|
|
tar --strip-components=1 -xf ../bitcoin-*.tar.* |
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=i686-w64-mingw32 --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin" |
|
|
|
./configure --bindir=$OUTDIR --prefix=$STAGING --host=i686-w64-mingw32 --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}" |
|
|
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 |
|
|
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 |
|
|
|
export FAKETIME=$REFERENCE_DATETIME |
|
|
|
export FAKETIME=$REFERENCE_DATETIME |
|
|
|
export TZ=UTC |
|
|
|
export TZ=UTC |
|
|
|