Skip to content

Commit

Permalink
Merge pull request #2 from neonichu/fix/ndk-r11c
Browse files Browse the repository at this point in the history
Fix for Android NDK r11c
  • Loading branch information
modocache committed Apr 20, 2016
2 parents 9bd2fa3 + 9640d4e commit a73dc81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions setCrossEnvironment-armeabi-v7a.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IFS='

MYARCH=linux-x86
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86
MYARCH=linux-`arch`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
Expand All @@ -20,8 +20,6 @@ NDK=`which ndk-build`
NDK=`dirname $NDK`
#NDK=`readlink -f $NDK`

grep "64.bit" "$NDK/RELEASE.TXT" >/dev/null 2>&1 && MYARCH="${MYARCH}_64"

[ -z "$NDK" ] && { echo "You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
GCCPREFIX=arm-linux-androideabi
GCCVER=4.9
Expand Down
4 changes: 1 addition & 3 deletions setCrossEnvironment-armeabi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IFS='

MYARCH=linux-x86
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86
MYARCH=linux-`arch`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
Expand All @@ -18,8 +18,6 @@ NDK=`which ndk-build`
NDK=`dirname $NDK`
#NDK=`readlink -f $NDK`

grep "64.bit" "$NDK/RELEASE.TXT" >/dev/null 2>&1 && MYARCH="${MYARCH}_64"

[ -z "$NDK" ] && { echo "You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
GCCPREFIX=arm-linux-androideabi
GCCVER=4.9
Expand Down
4 changes: 1 addition & 3 deletions setCrossEnvironment-mips.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IFS='

MYARCH=linux-x86
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86
MYARCH=linux-`arch`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
Expand All @@ -18,8 +18,6 @@ NDK=`which ndk-build`
NDK=`dirname $NDK`
#NDK=`readlink -f $NDK`

grep "64.bit" "$NDK/RELEASE.TXT" >/dev/null 2>&1 && MYARCH="${MYARCH}_64"

[ -z "$NDK" ] && { echo "You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
GCCPREFIX=mipsel-linux-android
GCCVER=4.9
Expand Down
4 changes: 1 addition & 3 deletions setCrossEnvironment-x86.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IFS='

MYARCH=linux-x86
if uname -s | grep -i "linux" > /dev/null ; then
MYARCH=linux-x86
MYARCH=linux-`arch`
fi
if uname -s | grep -i "darwin" > /dev/null ; then
MYARCH=darwin-x86_64
Expand All @@ -18,8 +18,6 @@ NDK=`which ndk-build`
NDK=`dirname $NDK`
#NDK=`readlink -f $NDK`

grep "64.bit" "$NDK/RELEASE.TXT" >/dev/null 2>&1 && MYARCH="${MYARCH}_64"

[ -z "$NDK" ] && { echo "You need Android NDK r8 or newer installed to run this script" ; exit 1 ; }
GCCPREFIX=i686-linux-android
GCCVER=4.9
Expand Down

0 comments on commit a73dc81

Please sign in to comment.