File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed
Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -152,15 +152,16 @@ function push_arm() {
152152 PYPLATFORM=" linux"
153153 fi
154154
155- if [ " X$ANDROIDNDKVER " == " Xr5b" ]; then
156- export TOOLCHAIN_PREFIX=arm-eabi
157- export TOOLCHAIN_VERSION=4.4.0
158- else
159- # if [ "X${ANDROIDNDKVER:0:2}" == "Xr7" ] || [ "X$ANDROIDNDKVER" == "Xr8" ]; then
160- # assume this toolchain is the same for all the next ndk... until a new one is out.
161- export TOOLCHAIN_PREFIX=arm-linux-androideabi
162- export TOOLCHAIN_VERSION=4.4.3
163- fi
155+ if [ " X$ANDROIDNDKVER " == " Xr5b" ]; then
156+ export TOOLCHAIN_PREFIX=arm-eabi
157+ export TOOLCHAIN_VERSION=4.4.0
158+ elif [ " X${ANDROIDNDKVER: 0: 2} " == " Xr7" ] || [ " X${ANDROIDNDKVER: 0: 2} " == " Xr8" ]; then
159+ export TOOLCHAIN_PREFIX=arm-linux-androideabi
160+ export TOOLCHAIN_VERSION=4.4.3
161+ elif [ " X${ANDROIDNDKVER} " == " Xr9" ]; then
162+ export TOOLCHAIN_PREFIX=arm-linux-androideabi
163+ export TOOLCHAIN_VERSION=4.8
164+ fi
164165
165166 export PATH=" $ANDROIDNDK /toolchains/$TOOLCHAIN_PREFIX -$TOOLCHAIN_VERSION /prebuilt/$PYPLATFORM -x86/bin/:$ANDROIDNDK /toolchains/$TOOLCHAIN_PREFIX -$TOOLCHAIN_VERSION /prebuilt/$PYPLATFORM -x86_64/bin/:$ANDROIDNDK :$ANDROIDSDK /tools:$PATH "
166167
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ f.close()
7373
7474sys .exit (subprocess .call ([
7575 environ .get ('LD' ), '-r' ,
76- '-o' , output + '.o' , '-arch' ,
77- environ .get ('ARCH' )] + objects ))
76+ '-o' , output + '.o'
77+ #, '-arch', environ.get('ARCH')
78+ ] + objects ))
7879
You can’t perform that action at this time.
0 commit comments