diff --git a/android/build_boinc_mips.sh b/android/build_boinc_mips.sh index c343db561d..fd49ac303e 100755 --- a/android/build_boinc_mips.sh +++ b/android/build_boinc_mips.sh @@ -39,7 +39,7 @@ make clean fi if [ -n "$CONFIGURE" ]; then ./_autosetup -./configure --host=mips-linux --with-boinc-platform="mips-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-shared --enable-static +./configure --host=mipsel-linux --with-boinc-platform="mipsel-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-shared --enable-static sed -e "s%^CLIENTLIBS *= *.*$%CLIENTLIBS = -lm $STDCPPTC%g" client/Makefile > client/Makefile.out mv client/Makefile.out client/Makefile fi diff --git a/android/build_boinc_x86.sh b/android/build_boinc_x86.sh index eef134548e..ff9f866eb8 100755 --- a/android/build_boinc_x86.sh +++ b/android/build_boinc_x86.sh @@ -39,7 +39,7 @@ make clean fi if [ -n "$CONFIGURE" ]; then ./_autosetup -./configure --host=x86-linux --with-boinc-platform="x86-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-shared --enable-static +./configure --host=i686-linux --with-boinc-platform="x86-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-shared --enable-static sed -e "s%^CLIENTLIBS *= *.*$%CLIENTLIBS = -lm $STDCPPTC%g" client/Makefile > client/Makefile.out mv client/Makefile.out client/Makefile fi diff --git a/android/build_curl_mips.sh b/android/build_curl_mips.sh index eca9c3dd8b..e4a8d5bf35 100755 --- a/android/build_curl_mips.sh +++ b/android/build_curl_mips.sh @@ -37,7 +37,7 @@ if [ -n "$MAKECLEAN" ]; then make clean fi if [ -n "$CONFIGURE" ]; then -./configure --host=arm-linux --prefix=$TCINCLUDES --libdir="$TCINCLUDES/lib" --disable-shared --enable-static --with-random=/dev/urandom +./configure --host=mipsel-linux --prefix=$TCINCLUDES --libdir="$TCINCLUDES/lib" --disable-shared --enable-static --with-random=/dev/urandom fi make make install diff --git a/android/build_curl_x86.sh b/android/build_curl_x86.sh index e8e2866230..e910ed194c 100755 --- a/android/build_curl_x86.sh +++ b/android/build_curl_x86.sh @@ -37,7 +37,7 @@ if [ -n "$MAKECLEAN" ]; then make clean fi if [ -n "$CONFIGURE" ]; then -./configure --host=arm-linux --prefix=$TCINCLUDES --libdir="$TCINCLUDES/lib" --disable-shared --enable-static --with-random=/dev/urandom +./configure --host=i686-linux --prefix=$TCINCLUDES --libdir="$TCINCLUDES/lib" --disable-shared --enable-static --with-random=/dev/urandom fi make make install diff --git a/android/build_libraries_mips.sh b/android/build_libraries_mips.sh index 7ddd89f814..d2d58fde82 100755 --- a/android/build_libraries_mips.sh +++ b/android/build_libraries_mips.sh @@ -40,7 +40,7 @@ make clean fi if [ -n "$CONFIGURE" ]; then ./_autosetup -./configure --host=mips-linux --with-boinc-platform="mips-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-client --disable-shared --enable-static +./configure --host=mipsel-linux --with-boinc-platform="mipsel-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-client --disable-shared --enable-static fi make make stage diff --git a/android/build_libraries_x86.sh b/android/build_libraries_x86.sh index 904a2775ae..1632b234f3 100755 --- a/android/build_libraries_x86.sh +++ b/android/build_libraries_x86.sh @@ -40,7 +40,7 @@ make clean fi if [ -n "$CONFIGURE" ]; then ./_autosetup -./configure --host=x86-linux --with-boinc-platform="x86-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-client --disable-shared --enable-static +./configure --host=i686-linux --with-boinc-platform="x86-android-linux-gnu" --with-ssl=$TCINCLUDES --disable-server --disable-manager --disable-client --disable-shared --enable-static fi make make stage diff --git a/android/build_openssl_arm.sh b/android/build_openssl_arm.sh index 1bea0c5368..3e82fc327f 100755 --- a/android/build_openssl_arm.sh +++ b/android/build_openssl_arm.sh @@ -37,7 +37,7 @@ if [ -n "$MAKECLEAN" ]; then make clean fi if [ -n "$CONFIGURE" ]; then -./Configure android-armv7 no-shared no-dso --openssldir="$TCINCLUDES/ssl" +./Configure linux-generic32 no-shared no-dso -DL_ENDIAN --openssldir="$TCINCLUDES/ssl" #override flags in Makefile sed -e "s/^CFLAG=.*$/`grep -e \^CFLAG= Makefile` \$(CFLAGS)/g s%^INSTALLTOP=.*%INSTALLTOP=$TCINCLUDES%g" Makefile > Makefile.out diff --git a/android/build_openssl_mips.sh b/android/build_openssl_mips.sh index 6750fedcd6..48658cbc0c 100755 --- a/android/build_openssl_mips.sh +++ b/android/build_openssl_mips.sh @@ -37,7 +37,7 @@ if [ -n "$MAKECLEAN" ]; then make clean fi if [ -n "$CONFIGURE" ]; then -./Configure android no-shared no-dso --openssldir="$TCINCLUDES/ssl" +./Configure linux-generic32 no-shared no-dso -DL_ENDIAN --openssldir="$TCINCLUDES/ssl" #override flags in Makefile sed -e "s/^CFLAG=.*$/`grep -e \^CFLAG= Makefile` \$(CFLAGS)/g s%^INSTALLTOP=.*%INSTALLTOP=$TCINCLUDES%g" Makefile > Makefile.out diff --git a/android/build_openssl_x86.sh b/android/build_openssl_x86.sh index 5e22fc1694..1377dae04d 100755 --- a/android/build_openssl_x86.sh +++ b/android/build_openssl_x86.sh @@ -37,7 +37,7 @@ if [ -n "$MAKECLEAN" ]; then make clean fi if [ -n "$CONFIGURE" ]; then -./Configure android-x86 no-shared no-dso --openssldir="$TCINCLUDES/ssl" +./Configure linux-generic32 no-shared no-dso -DL_ENDIAN --openssldir="$TCINCLUDES/ssl" #override flags in Makefile sed -e "s/^CFLAG=.*$/`grep -e \^CFLAG= Makefile` \$(CFLAGS)/g s%^INSTALLTOP=.*%INSTALLTOP=$TCINCLUDES%g" Makefile > Makefile.out