Skip to content

Instantly share code, notes, and snippets.

@bitzeny
Created November 2, 2014 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bitzeny/ca8eed3bfb66afcab436 to your computer and use it in GitHub Desktop.
Save bitzeny/ca8eed3bfb66afcab436 to your computer and use it in GitHub Desktop.
OPTFLAGS='-O2'
HOST=x86_64-w64-mingw32
STAGING=$PWD/staging64
BINDIR=$PWD/64
mkdir -p $BINDIR
mkdir -p $STAGING
cd $STAGING
unzip ../inputs/qt-win64-5.2.0-gitian-r3.zip
unzip ../inputs/boost-win64-1.55.0-gitian-r6.zip
unzip ../inputs/bitcoin-deps-win64-gitian-r13.zip
unzip ../inputs/protobuf-win64-2.5.0-gitian-r4.zip
cd bitzeny_dir
./autogen.sh
./configure --enable-upnp-default --bindir=$BINDIR --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 -j
make deploy
make install-strip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment