summaryrefslogtreecommitdiff
path: root/android-configure
diff options
context:
space:
mode:
authorGiovanny Andres Gongora Granada <gioyik@gmail.com>2015-03-08 22:19:21 -0500
committerBen Noordhuis <info@bnoordhuis.nl>2015-04-04 00:53:03 +0200
commit65d4d25f525ada66bda66dddd2e9a40144d2ebf3 (patch)
tree2c8767169c270da3ef8e9bf00191362f35e2d760 /android-configure
parentad937752eee1bb06dabccc57fdf7aef56e865013 (diff)
downloadandroid-node-v8-65d4d25f525ada66bda66dddd2e9a40144d2ebf3.tar.gz
android-node-v8-65d4d25f525ada66bda66dddd2e9a40144d2ebf3.tar.bz2
android-node-v8-65d4d25f525ada66bda66dddd2e9a40144d2ebf3.zip
build: default to armv7+vfpv3 for android
Also add Android build instructions to the README. PR-URL: https://github.com/iojs/io.js/pull/1307 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'android-configure')
-rwxr-xr-xandroid-configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/android-configure b/android-configure
index b3145e5838..af47aa3a7d 100755
--- a/android-configure
+++ b/android-configure
@@ -3,15 +3,15 @@
export TOOLCHAIN=$PWD/android-toolchain
mkdir -p $TOOLCHAIN
$1/build/tools/make-standalone-toolchain.sh \
- --toolchain=arm-linux-androideabi-4.7 \
+ --toolchain=arm-linux-androideabi-4.9 \
--arch=arm \
--install-dir=$TOOLCHAIN \
--platform=android-9
export PATH=$TOOLCHAIN/bin:$PATH
-export AR=arm-linux-androideabi-ar
-export CC=arm-linux-androideabi-gcc
-export CXX=arm-linux-androideabi-g++
-export LINK=arm-linux-androideabi-g++
+export AR=$TOOLCHAIN/bin/arm-linux-androideabi-ar
+export CC=$TOOLCHAIN/bin/arm-linux-androideabi-gcc
+export CXX=$TOOLCHAIN/bin/arm-linux-androideabi-g++
+export LINK=$TOOLCHAIN/bin/arm-linux-androideabi-g++
./configure \
--dest-cpu=arm \