bitcoin: fix native build; use our cxxflags.

This commit is contained in:
Juan RP 2013-03-19 10:45:21 +01:00
parent ca916065df
commit 7b7f00b7c4
1 changed files with 6 additions and 3 deletions

View File

@ -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() {