mirror of https://github.com/BOINC/boinc.git
android: ugh, one more time
This commit is contained in:
parent
6f55b792a9
commit
d8a78b5e4a
|
@ -7,15 +7,15 @@ export TCINCLUDES="$ANDROIDTC/arm-linux-androideabi"
|
|||
export TCSYSROOT="$ANDROIDTC/sysroot"
|
||||
export STDCPPTC="$TCINCLUDES/lib/libstdc++.a"
|
||||
export BOINC_DIR="../.."
|
||||
export BOINC_API_DIR="$(BOINC_DIR)/api"
|
||||
export BOINC_LIB_DIR="$(BOINC_DIR)/lib"
|
||||
export BOINC_ZIP_DIR="$(BOINC_DIR)/zip"
|
||||
export BOINC_API_DIR="$BOINC_DIR/api"
|
||||
export BOINC_LIB_DIR="$BOINC_DIR/lib"
|
||||
export BOINC_ZIP_DIR="$BOINC_DIR/zip"
|
||||
|
||||
export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin"
|
||||
export CXX=arm-linux-androideabi-g++
|
||||
export LD=arm-linux-androideabi-ld
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -I$TCINCLUDES/include -I$(BOINC_DIR) -I$(BOINC_LIB_DIR) -I$(BOINC_API_DIR) -I$(BOINC_ZIP_DIR)"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -L$(BOINC_DIR) -L$(BOINC_LIB_DIR) -L$(BOINC_API_DIR) -L$(BOINC_ZIP_DIR) -llog"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -funroll-loops -fexceptions -O3 -fomit-frame-pointer -I$TCINCLUDES/include -I$BOINC_DIR -I$BOINC_LIB_DIR -I$BOINC_API_DIR -I$BOINC_ZIP_DIR"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -L$BOINC_DIR -L$BOINC_LIB_DIR -L$BOINC_API_DIR -L$BOINC_ZIP_DIR -llog"
|
||||
export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include"
|
||||
|
||||
# Prepare android toolchain and environment
|
||||
|
|
Loading…
Reference in New Issue