From f88654256505613c46f6075d8aa102c0fa6f1fbf Mon Sep 17 00:00:00 2001 From: WarheadsSE Date: Sat, 4 Feb 2012 22:01:56 -0500 Subject: [PATCH] nodejs: v7h - smack up scons & v8 --- community/nodejs/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/community/nodejs/PKGBUILD b/community/nodejs/PKGBUILD index 785295f57..6d93885fc 100644 --- a/community/nodejs/PKGBUILD +++ b/community/nodejs/PKGBUILD @@ -9,7 +9,7 @@ pkgname=nodejs pkgver=0.6.10 pkgrel=1 -plugrel=1 +plugrel=2 pkgdesc='Evented I/O for V8 javascript' arch=('i686' 'x86_64' 'arm') url='http://nodejs.org/' @@ -38,11 +38,12 @@ build() { # we're going to attept to make use of this example # https://github.com/joyent/node/issues/2131#issuecomment-3208846 # https://gist.github.com/1574158 - + msg 'Selecting pre-compile of v8' # move up to v8 cd deps/v8 # run the scons script directly... if [ "$CARCH" == "arm" ]; then + msg 'pre-compiling v8 for v5' # we need to override the arch (last one will be used) because # v8 thinks armv5te can use unaligned.. the kirkwood can't! CCFLAGS="$CCFLAGS -march=armv5t" ; @@ -50,7 +51,8 @@ if [ "$CARCH" == "arm" ]; then scons arch=arm armeabi=soft mode=release fi if [ "$CARCH" == "armv7" ]; then - scons arch=arm armeabi=hard mode=release + msg 'pre-compiling v8 for v7' + ../../tools/scons/scons.py arch=arm armeabi=hard mode=release fi # go back to the node source directory cd ../../