Merge branch 'FSM' into patch-osx-gcc8-static
This commit is contained in:
@@ -42,6 +42,14 @@ PREFIX="$(pwd)/depends/$TRIPLET"
|
||||
|
||||
make "$@" -C ./depends/ V=1 NO_QT=1 NO_PROTON=1
|
||||
|
||||
#BUILD CCLIB
|
||||
|
||||
WD=$PWD
|
||||
cd src/cc
|
||||
echo $PWD
|
||||
./makerogue
|
||||
cd $WD
|
||||
|
||||
./autogen.sh
|
||||
CPPFLAGS="-I$PREFIX/include -arch x86_64" LDFLAGS="-L$PREFIX/lib -arch x86_64 -Wl,-no_pie" \
|
||||
CXXFLAGS='-arch x86_64 -I/usr/local/Cellar/gcc\@6/6.4.0_2/include/c++/6.4.0/ -I$PREFIX/include -fwrapv -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Werror -g -Wl,-undefined -Wl,dynamic_lookup' \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
HOST=x86_64-w64-mingw32
|
||||
export HOST=x86_64-w64-mingw32
|
||||
CXX=x86_64-w64-mingw32-g++-posix
|
||||
CC=x86_64-w64-mingw32-gcc-posix
|
||||
PREFIX="$(pwd)/depends/$HOST"
|
||||
@@ -11,6 +11,12 @@ cd "$(dirname "$(readlink -f "$0")")/.."
|
||||
|
||||
cd depends/ && make HOST=$HOST V=1 NO_QT=1
|
||||
cd ../
|
||||
WD=$PWD
|
||||
cd src/cc
|
||||
echo $PWD
|
||||
./makerogue
|
||||
cd $WD
|
||||
|
||||
./autogen.sh
|
||||
CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site CXXFLAGS="-DPTW32_STATIC_LIB -DCURL_STATICLIB -DCURVE_ALT_BN128 -fopenmp -pthread" ./configure --prefix="${PREFIX}" --host=x86_64-w64-mingw32 --enable-static --disable-shared
|
||||
sed -i 's/-lboost_system-mt /-lboost_system-mt-s /' configure
|
||||
|
||||
@@ -42,21 +42,16 @@ if [ "x$*" = 'x--help' ]
|
||||
then
|
||||
cat <<EOF
|
||||
Usage:
|
||||
|
||||
$0 --help
|
||||
Show this help message and exit.
|
||||
|
||||
$0 [ --enable-lcov || --disable-tests ] [ --disable-mining ] [ --enable-proton ] [ --disable-libs ] [ MAKEARGS... ]
|
||||
Build Zcash and most of its transitive dependencies from
|
||||
source. MAKEARGS are applied to both dependencies and Zcash itself.
|
||||
|
||||
If --enable-lcov is passed, Zcash is configured to add coverage
|
||||
instrumentation, thus enabling "make cov" to work.
|
||||
If --disable-tests is passed instead, the Zcash tests are not built.
|
||||
|
||||
If --disable-mining is passed, Zcash is configured to not build any mining
|
||||
code. It must be passed after the test arguments, if present.
|
||||
|
||||
If --enable-proton is passed, Zcash is configured to build the Apache Qpid Proton
|
||||
library required for AMQP support. This library is not built by default.
|
||||
It must be passed after the test/mining arguments, if present.
|
||||
@@ -105,4 +100,13 @@ HOST="$HOST" BUILD="$BUILD" NO_PROTON="$PROTON_ARG" "$MAKE" "$@" -C ./depends/ V
|
||||
./autogen.sh
|
||||
|
||||
CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG" "$LCOV_ARG" "$TEST_ARG" "$MINING_ARG" "$PROTON_ARG" $CONFIGURE_FLAGS CXXFLAGS='-g'
|
||||
|
||||
#BUILD CCLIB
|
||||
|
||||
WD=$PWD
|
||||
cd src/cc
|
||||
echo $PWD
|
||||
./makecclib
|
||||
cd $WD
|
||||
|
||||
"$MAKE" "$@" V=1
|
||||
|
||||
Reference in New Issue
Block a user