mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-25 22:14:15 +00:00
Enable UPnP by default on bitcoin, but not on bitcoind (on gitian)
Also fix a minor type in gitian.yml
This commit is contained in:
parent
3f0950ea01
commit
09923991e5
@ -74,7 +74,8 @@ script: |
|
|||||||
cd src
|
cd src
|
||||||
sed 's/$(DEBUGFLAGS)//' < makefile.linux-mingw > makefile.linux-mingw.2 && mv makefile.linux-mingw.2 makefile.linux-mingw
|
sed 's/$(DEBUGFLAGS)//' < makefile.linux-mingw > makefile.linux-mingw.2 && mv makefile.linux-mingw.2 makefile.linux-mingw
|
||||||
sed 's|//#include <WSPiApi.h>|#include <WSPiApi.h>|' < net.cpp > net.cpp.2 && mv net.cpp.2 net.cpp
|
sed 's|//#include <WSPiApi.h>|#include <WSPiApi.h>|' < net.cpp > net.cpp.2 && mv net.cpp.2 net.cpp
|
||||||
make -f makefile.linux-mingw $MAKEOPTS DEPSDIR=$HOME/build bitcoin.exe bitcoind.exe
|
make -f makefile.linux-mingw $MAKEOPTS DEPSDIR=$HOME/build bitcoin.exe USE_UPNP=1
|
||||||
|
make -f makefile.linux-mingw $MAKEOPTS DEPSDIR=$HOME/build bitcoind.exe USE_UPNP=0
|
||||||
i586-mingw32msvc-strip bitcoin.exe
|
i586-mingw32msvc-strip bitcoin.exe
|
||||||
i586-mingw32msvc-strip bitcoind.exe
|
i586-mingw32msvc-strip bitcoind.exe
|
||||||
makensis ../share/setup.nsi
|
makensis ../share/setup.nsi
|
||||||
|
@ -6,7 +6,7 @@ architectures:
|
|||||||
- "i386"
|
- "i386"
|
||||||
- "amd64"
|
- "amd64"
|
||||||
packages:
|
packages:
|
||||||
- "libdb4.7++-dev
|
- "libdb4.7++-dev"
|
||||||
- "libxxf86vm-dev"
|
- "libxxf86vm-dev"
|
||||||
- "libgtk2.0-dev"
|
- "libgtk2.0-dev"
|
||||||
- "libboost-all-dev"
|
- "libboost-all-dev"
|
||||||
@ -51,6 +51,7 @@ script: |
|
|||||||
cp $OUTDIR/src/COPYING $OUTDIR
|
cp $OUTDIR/src/COPYING $OUTDIR
|
||||||
cd src
|
cd src
|
||||||
sed 's/$(DEBUGFLAGS)//' < makefile.unix > makefile.unix.2 && mv makefile.unix.2 makefile.unix
|
sed 's/$(DEBUGFLAGS)//' < makefile.unix > makefile.unix.2 && mv makefile.unix.2 makefile.unix
|
||||||
PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoin bitcoind
|
PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoin USE_UPNP=1
|
||||||
|
PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0
|
||||||
mkdir -p $OUTDIR/bin/$GBUILD_BITS
|
mkdir -p $OUTDIR/bin/$GBUILD_BITS
|
||||||
install -s bitcoin bitcoind $OUTDIR/bin/$GBUILD_BITS
|
install -s bitcoin bitcoind $OUTDIR/bin/$GBUILD_BITS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user