alarm/xbmc-rbp-git try with makeflags=j1

This commit is contained in:
moonman 2013-12-25 03:30:33 -07:00
parent 303e584039
commit 30d2c2d73b
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ buildarch=16
pkgname=xbmc-rbp-git
pkgver=13.20131225
pkgrel=2
pkgrel=3
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
arch=('armv6h')
url="http://xbmc.org"
@ -76,7 +76,7 @@ build() {
export CFLAGS="-Ofast -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -fexcess-precision=fast -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
export CXXFLAGS="-Ofast -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -fexcess-precision=fast -mfloat-abi=hard -mfpu=vfp -mabi=aapcs-linux -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/opt/vc/include/ -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
export LDFLAGS="$LDFLAGS -L/opt/vc/lib"
# export MAKEFLAGS="-j1"
export MAKEFLAGS="-j1"
./configure --prefix=$_prefix --exec-prefix=$_prefix \
--with-platform=raspberry-pi --disable-gl --enable-gles --disable-x11 --disable-sdl \
--enable-optimizations --disable-external-libraries --disable-goom --disable-hal \

View file

@ -183,7 +183,7 @@ if ! pacman -Ssq ^ghc$ > /dev/null; then
tar -zxf data.tar.gz
sed "s|\"/|\"${srcdir}/|" -i usr/lib/ghc/bin/ghc{,-pkg}
sed "s| /usr| ${srcdir}/usr|" -i var/lib/ghc/package.conf.d/*
sed "s/-3.0//" -i usr/lib/ghc/settings # correct LLVM commands
sed "s/opt-3.0/opt/" -i usr/lib/ghc/settings # correct LLVM commands
ln -s /usr/lib/libffi.so.6 usr/lib/libffi.so.5
ln -s /usr/lib/libncurses.so.5 usr/lib/libtinfo.so.5
ln -fs ../../../var/lib/ghc/package.conf.d usr/lib/ghc/package.conf.d