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

View file

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