File tree Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Expand file tree Collapse file tree 5 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ uname -s | grep -i "linux" && NCPU=`cat /proc/cpuinfo | grep -c -i processor`
99
1010NDK=` which ndk-build`
1111NDK=` dirname $NDK `
12- NDK=` readlink -f $NDK `
12+ # NDK=`readlink -f $NDK`
1313
1414for ARCH in armeabi-v7a; do
1515
@@ -96,8 +96,8 @@ cd $BUILDDIR/$ARCH
9696 cd ..
9797 } || exit 1
9898
99- sed -i " s@LD_SONAME *=.*@LD_SONAME =@g" config/mh-linux
100- sed -i " s%ln -s *%cp -f \$ (dir \$ @)/%g" config/mh-linux
99+ sed -i.tmp " s@LD_SONAME *=.*@LD_SONAME =@g" config/mh-linux
100+ sed -i.tmp " s%ln -s *%cp -f \$ (dir \$ @)/%g" config/mh-linux
101101
102102 env CFLAGS=" -I$NDK /sources/android/support/include -frtti -fexceptions" \
103103 LDFLAGS=" -frtti -fexceptions" \
@@ -110,13 +110,13 @@ cd $BUILDDIR/$ARCH
110110 --enable-static --enable-shared \
111111 || exit 1
112112
113- sed -i " s@^prefix *= *.*@prefix = .@" icudefs.mk || exit 1
113+ sed -i.tmp " s@^prefix *= *.*@prefix = .@" icudefs.mk || exit 1
114114
115115 env PATH=` pwd` :$PATH \
116116 $BUILDDIR /setCrossEnvironment-$ARCH .sh \
117117 make -j$NCPU VERBOSE=1 || exit 1
118118
119- sed -i " s@^prefix *= *.*@prefix = ` pwd` /../../@" icudefs.mk || exit 1
119+ sed -i.tmp " s@^prefix *= *.*@prefix = ` pwd` /../../@" icudefs.mk || exit 1
120120
121121 env PATH=` pwd` :$PATH \
122122 $BUILDDIR /setCrossEnvironment-$ARCH .sh \
Original file line number Diff line number Diff line change @@ -10,21 +10,21 @@ if uname -s | grep -i "linux" > /dev/null ; then
1010 MYARCH=linux-x86
1111fi
1212if uname -s | grep -i " darwin" > /dev/null ; then
13- MYARCH=darwin-x86
13+ MYARCH=darwin-x86_64
1414fi
1515if uname -s | grep -i " windows" > /dev/null ; then
1616 MYARCH=windows-x86
1717fi
1818
1919NDK=` which ndk-build`
2020NDK=` dirname $NDK `
21- NDK=` readlink -f $NDK `
21+ # NDK=`readlink -f $NDK`
2222
2323grep " 64.bit" " $NDK /RELEASE.TXT" > /dev/null 2>&1 && MYARCH=" ${MYARCH} _64"
2424
25- [ -z " $NDK " ] && { echo " You need Andorid NDK r8 or newer installed to run this script" ; exit 1 ; }
25+ [ -z " $NDK " ] && { echo " You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
2626GCCPREFIX=arm-linux-androideabi
27- GCCVER=4.8
27+ GCCVER=4.9
2828PLATFORMVER=android-16
2929LOCAL_PATH=` dirname $0 `
3030if which realpath > /dev/null ; then
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ if uname -s | grep -i "linux" > /dev/null ; then
88 MYARCH=linux-x86
99fi
1010if uname -s | grep -i " darwin" > /dev/null ; then
11- MYARCH=darwin-x86
11+ MYARCH=darwin-x86_64
1212fi
1313if uname -s | grep -i " windows" > /dev/null ; then
1414 MYARCH=windows-x86
1515fi
1616
1717NDK=` which ndk-build`
1818NDK=` dirname $NDK `
19- NDK=` readlink -f $NDK `
19+ # NDK=`readlink -f $NDK`
2020
2121grep " 64.bit" " $NDK /RELEASE.TXT" > /dev/null 2>&1 && MYARCH=" ${MYARCH} _64"
2222
23- [ -z " $NDK " ] && { echo " You need Andorid NDK r8 or newer installed to run this script" ; exit 1 ; }
23+ [ -z " $NDK " ] && { echo " You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
2424GCCPREFIX=arm-linux-androideabi
25- GCCVER=4.8
25+ GCCVER=4.9
2626PLATFORMVER=android-14
2727LOCAL_PATH=` dirname $0 `
2828if which realpath > /dev/null ; then
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ if uname -s | grep -i "linux" > /dev/null ; then
88 MYARCH=linux-x86
99fi
1010if uname -s | grep -i " darwin" > /dev/null ; then
11- MYARCH=darwin-x86
11+ MYARCH=darwin-x86_64
1212fi
1313if uname -s | grep -i " windows" > /dev/null ; then
1414 MYARCH=windows-x86
1515fi
1616
1717NDK=` which ndk-build`
1818NDK=` dirname $NDK `
19- NDK=` readlink -f $NDK `
19+ # NDK=`readlink -f $NDK`
2020
2121grep " 64.bit" " $NDK /RELEASE.TXT" > /dev/null 2>&1 && MYARCH=" ${MYARCH} _64"
2222
23- [ -z " $NDK " ] && { echo " You need Andorid NDK r8 or newer installed to run this script" ; exit 1 ; }
23+ [ -z " $NDK " ] && { echo " You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
2424GCCPREFIX=mipsel-linux-android
25- GCCVER=4.8
25+ GCCVER=4.9
2626PLATFORMVER=android-14
2727LOCAL_PATH=` dirname $0 `
2828if which realpath > /dev/null ; then
Original file line number Diff line number Diff line change @@ -8,21 +8,21 @@ if uname -s | grep -i "linux" > /dev/null ; then
88 MYARCH=linux-x86
99fi
1010if uname -s | grep -i " darwin" > /dev/null ; then
11- MYARCH=darwin-x86
11+ MYARCH=darwin-x86_64
1212fi
1313if uname -s | grep -i " windows" > /dev/null ; then
1414 MYARCH=windows-x86
1515fi
1616
1717NDK=` which ndk-build`
1818NDK=` dirname $NDK `
19- NDK=` readlink -f $NDK `
19+ # NDK=`readlink -f $NDK`
2020
2121grep " 64.bit" " $NDK /RELEASE.TXT" > /dev/null 2>&1 && MYARCH=" ${MYARCH} _64"
2222
23- [ -z " $NDK " ] && { echo " You need Andorid NDK r8 or newer installed to run this script" ; exit 1 ; }
23+ [ -z " $NDK " ] && { echo " You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
2424GCCPREFIX=i686-linux-android
25- GCCVER=4.8
25+ GCCVER=4.9
2626PLATFORMVER=android-14
2727LOCAL_PATH=` dirname $0 `
2828if which realpath > /dev/null ; then
You can’t perform that action at this time.
0 commit comments