bitcoin: fix native build; use our cxxflags.
This commit is contained in:
parent
ca916065df
commit
7b7f00b7c4
1 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bitcoin'
|
# Template file for 'bitcoin'
|
||||||
pkgname=bitcoin
|
pkgname=bitcoin
|
||||||
version=0.8.1
|
version=0.8.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-${version}-linux"
|
wrksrc="${pkgname}-${version}-linux"
|
||||||
subpackages="bitcoin-qt"
|
subpackages="bitcoin-qt"
|
||||||
makedepends="which db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
|
makedepends="which db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
|
||||||
|
@ -25,10 +25,13 @@ do_build() {
|
||||||
cd src
|
cd src
|
||||||
if [ -z "$XBPS_CROSS_BUILD" ]; then
|
if [ -z "$XBPS_CROSS_BUILD" ]; then
|
||||||
# qt gui
|
# 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
|
fi
|
||||||
# daemon
|
# 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() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue