From b983f4b70a3f90ea0d9ef53f0709d478ffab4a40 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sun, 19 Jun 2016 19:05:10 -0700 Subject: [PATCH] Android: Fix building for x86_64. --- android/build_boinc_x86_64.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build_boinc_x86_64.sh b/android/build_boinc_x86_64.sh index cc55ea5115..f2ceabc8ef 100755 --- a/android/build_boinc_x86_64.sh +++ b/android/build_boinc_x86_64.sh @@ -16,7 +16,7 @@ export ANDROIDTC="$HOME/androidx86_64-tc" export TCBINARIES="$ANDROIDTC/bin" export TCINCLUDES="$ANDROIDTC/x86_64-linux-android" export TCSYSROOT="$ANDROIDTC/sysroot" -export STDCPPTC="$TCINCLUDES/lib/libstdc++.a" +export STDCPPTC="$TCINCLUDES/lib64/libstdc++.a" export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin" export CC=x86_64-linux-android-gcc @@ -24,7 +24,7 @@ export CXX=x86_64-linux-android-g++ export LD=x86_64-linux-android-ld export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -DANDROID_64 -DDECLARE_TIMEZONE -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer -fPIE" export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -DANDROID_64 -Wall -I$TCINCLUDES/include -funroll-loops -fexceptions -O3 -fomit-frame-pointer -fPIE" -export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog -fPIE -pie" +export LDFLAGS="-L$TCSYSROOT/usr/lib64 -L$TCINCLUDES/lib64 -llog -fPIE -pie" export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include" export PKG_CONFIG_SYSROOT_DIR=$TCSYSROOT