bitcoin: fix native build; use our cxxflags.
This commit is contained in:
parent
ca916065df
commit
7b7f00b7c4
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bitcoin'
|
||||
pkgname=bitcoin
|
||||
version=0.8.1
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-${version}-linux"
|
||||
subpackages="bitcoin-qt"
|
||||
makedepends="which db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
|
||||
|
@ -25,10 +25,13 @@ do_build() {
|
|||
cd src
|
||||
if [ -z "$XBPS_CROSS_BUILD" ]; then
|
||||
# qt gui
|
||||
qmake && make ${makejobs}
|
||||
qmake
|
||||
# XXX wtf??? leveldb inherits this value and errors out
|
||||
sed -e "s|ar cqs|ar|g" -i Makefile
|
||||
make ${makejobs}
|
||||
fi
|
||||
# daemon
|
||||
make -f makefile.unix -C src ${makejobs} USE_UPNP=1
|
||||
make ${makejobs} -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" USE_UPNP=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue