This commit is contained in:
ca333
2019-06-10 20:31:24 +02:00
parent 150fc74430
commit 962d885e31
4 changed files with 9 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/sh
gcc -O3 -DBUILD_CUSTOMCC -std=c++11 -I../secp256k1/include -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I.. -I. -fPIC -shared -c -o customcc.so cclib.cpp
cp customcc.so ../libcc.so
cd ..
make
cd cc
if make -f Makefile_custom "$@"; then
echo CUSTOMCC BUILD SUCCESSFUL
else
echo CUSTOMCC BUILD FAILED
exit 1
fi

View File

@@ -47,7 +47,7 @@ make "$@" -C ./depends/ V=1 NO_QT=1 NO_PROTON=1
WD=$PWD
cd src/cc
echo $PWD
./Makefile_custom
./makecustom
cd $WD
./autogen.sh

View File

@@ -14,7 +14,7 @@ cd ../
WD=$PWD
cd src/cc
echo $PWD
./makerogue
./makecustom
cd $WD
./autogen.sh

View File

@@ -106,7 +106,7 @@ CONFIG_SITE="$PWD/depends/$HOST/share/config.site" ./configure "$HARDENING_ARG"
WD=$PWD
cd src/cc
echo $PWD
./makerogue
./makecustom
cd $WD
"$MAKE" "$@" V=1