mirror of https://github.com/BOINC/boinc.git
Update cURL build scripts
* Raise default version to current one * Specify minimum Android API version explicitly, based on platform (or existing version)
This commit is contained in:
parent
8d3b85d2b5
commit
940ff00e21
|
@ -11,7 +11,7 @@ COMPILECURL="yes"
|
|||
CONFIGURE="yes"
|
||||
MAKECLEAN="yes"
|
||||
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.48.0}" #CURL sources, required by BOINC
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.61.0}" #CURL sources, required by BOINC
|
||||
|
||||
export ANDROID_TC="${ANDROID_TC:-$HOME/android-tc}"
|
||||
export ANDROIDTC="${ANDROID_TC_ARM:-$ANDROID_TC/arm}"
|
||||
|
@ -24,8 +24,8 @@ export PATH="$TCBINARIES:$TCINCLUDES/bin:$PATH"
|
|||
export CC=arm-linux-androideabi-gcc
|
||||
export CXX=arm-linux-androideabi-g++
|
||||
export LD=arm-linux-androideabi-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16"
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -D__ANDROID_API__=14"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -D__ANDROID_API__=14"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog -fPIE -pie -march=armv7-a -Wl,--fix-cortex-a8"
|
||||
export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ COMPILECURL="yes"
|
|||
CONFIGURE="yes"
|
||||
MAKECLEAN="yes"
|
||||
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.48.0}" #CURL sources, required by BOINC
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.61.0}" #CURL sources, required by BOINC
|
||||
|
||||
export ANDROID_TC="${ANDROID_TC:-$HOME/android-tc}"
|
||||
export ANDROIDTC="${ANDROID_TC_ARM64:-$ANDROID_TC/arm64}"
|
||||
|
@ -24,8 +24,8 @@ export PATH="$TCBINARIES:$TCINCLUDES/bin:$PATH"
|
|||
export CC=aarch64-linux-android-gcc
|
||||
export CXX=aarch64-linux-android-g++
|
||||
export LD=aarch64-linux-android-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE"
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=21"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=21"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog -fPIE -pie"
|
||||
export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ COMPILECURL="yes"
|
|||
CONFIGURE="yes"
|
||||
MAKECLEAN="yes"
|
||||
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.48.0}" #CURL sources, required by BOINC
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.61.0}" #CURL sources, required by BOINC
|
||||
|
||||
export ANDROID_TC="${ANDROID_TC:-$HOME/android-tc}"
|
||||
export ANDROIDTC="${ANDROID_TC_X86:-$ANDROID_TC/x86}"
|
||||
|
@ -24,8 +24,8 @@ export PATH="$TCBINARIES:$TCINCLUDES/bin:$PATH"
|
|||
export CC=i686-linux-android-gcc
|
||||
export CXX=i686-linux-android-g++
|
||||
export LD=i686-linux-android-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE"
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=14"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=14"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog -fPIE -pie"
|
||||
export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ COMPILECURL="yes"
|
|||
CONFIGURE="yes"
|
||||
MAKECLEAN="yes"
|
||||
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.48.0}" #CURL sources, required by BOINC
|
||||
CURL="${CURL_SRC:-$HOME/src/curl-7.61.0}" #CURL sources, required by BOINC
|
||||
|
||||
export ANDROID_TC="${ANDROID_TC:-$HOME/android-tc}"
|
||||
export ANDROIDTC="${ANDROID_TC_X86_64:-$ANDROID_TC/x86_64}"
|
||||
|
@ -24,8 +24,8 @@ export PATH="$TCBINARIES:$TCINCLUDES/bin:$PATH"
|
|||
export CC=x86_64-linux-android-gcc
|
||||
export CXX=x86_64-linux-android-g++
|
||||
export LD=x86_64-linux-android-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE"
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=21"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE -D__ANDROID_API__=21"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog -fPIE -pie"
|
||||
export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include"
|
||||
|
||||
|
|
Loading…
Reference in New Issue