mirror of https://github.com/BOINC/boinc.git
Workaround for missing truncate() libc function
* Relevant for 32 bit builds only * Would otherwise only be available as of API level 21 * See also: https://android.googlesource.com/platform/bionic/+/master/docs/status.md * See also: https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
This commit is contained in:
parent
802225c7e4
commit
fdf326a5af
|
@ -41,7 +41,7 @@ make distclean
|
|||
fi
|
||||
if [ -n "$CONFIGURE" ]; then
|
||||
./_autosetup
|
||||
./configure --host=arm-linux --with-boinc-platform="arm-android-linux-gnu" --with-ssl="$TCINCLUDES" --disable-server --disable-manager --disable-shared --enable-static
|
||||
./configure --host=arm-linux --with-boinc-platform="arm-android-linux-gnu" --with-ssl="$TCINCLUDES" --disable-server --disable-manager --disable-shared --enable-static --disable-largefile
|
||||
sed -e "s%^CLIENTLIBS *= *.*$%CLIENTLIBS = -lm $STDCPPTC%g" client/Makefile > client/Makefile.out
|
||||
mv client/Makefile.out client/Makefile
|
||||
fi
|
||||
|
|
|
@ -41,7 +41,7 @@ make distclean
|
|||
fi
|
||||
if [ -n "$CONFIGURE" ]; then
|
||||
./_autosetup
|
||||
./configure --host=i686-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 --disable-largefile
|
||||
sed -e "s%^CLIENTLIBS *= *.*$%CLIENTLIBS = -lm $STDCPPTC%g" client/Makefile > client/Makefile.out
|
||||
mv client/Makefile.out client/Makefile
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue