mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
nodejs: v7h - scons/v8
This commit is contained in:
parent
3d47513885
commit
850b54e4b9
|
@ -38,8 +38,8 @@ build() {
|
||||||
# we're going to attept to make use of this example
|
# we're going to attept to make use of this example
|
||||||
# https://github.com/joyent/node/issues/2131#issuecomment-3208846
|
# https://github.com/joyent/node/issues/2131#issuecomment-3208846
|
||||||
# https://gist.github.com/1574158
|
# https://gist.github.com/1574158
|
||||||
# cheating
|
# pathing scons
|
||||||
ln -s /usr/bin/python2 /usr/bin/python
|
sed -i "s/python/&2/" tools/scons/scons.py
|
||||||
msg 'Selecting pre-compile of v8'
|
msg 'Selecting pre-compile of v8'
|
||||||
# move up to v8
|
# move up to v8
|
||||||
cd deps/v8
|
cd deps/v8
|
||||||
|
@ -54,7 +54,7 @@ if [ "$CARCH" == "arm" ]; then
|
||||||
fi
|
fi
|
||||||
if [ "$CARCH" == "armv7h" ]; then
|
if [ "$CARCH" == "armv7h" ]; then
|
||||||
msg 'pre-compiling v8 for v7'
|
msg 'pre-compiling v8 for v7'
|
||||||
../../tools/scons/scons.py arch=arm armeabi=hard mode=release snapshot=off
|
../../tools/scons/scons.py arch=arm armeabi=hard mode=release snapshot=off vfp3=on
|
||||||
fi
|
fi
|
||||||
# go back to the node source directory
|
# go back to the node source directory
|
||||||
cd ../../
|
cd ../../
|
||||||
|
|
Loading…
Reference in a new issue