diff --git a/android/build_boinc.sh b/android/build_boinc.sh index a5a0b8512e..c11ac7b056 100755 --- a/android/build_boinc.sh +++ b/android/build_boinc.sh @@ -20,8 +20,8 @@ export PATH="$PATH:$TCBINARIES:$TCINCLUDES/bin" export CC=arm-linux-androideabi-gcc export CXX=arm-linux-androideabi-g++ export LD=arm-linux-androideabi-ld -export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -DDECLARE_TIMEZONE -DNO_LCHOWN -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer" -export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -DNO_LCHOWN -Wall -I$TCINCLUDES/include -funroll-loops -fexceptions -O3 -fomit-frame-pointer" +export CFLAGS="--sysroot=$TCSYSROOT -DANDROID -DDECLARE_TIMEZONE -Wall -I$TCINCLUDES/include -O3 -fomit-frame-pointer" +export CXXFLAGS="--sysroot=$TCSYSROOT -DANDROID -Wall -I$TCINCLUDES/include -funroll-loops -fexceptions -O3 -fomit-frame-pointer" export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -llog" export GDB_CFLAGS="--sysroot=$TCSYSROOT -Wall -g -I$TCINCLUDES/include" export PKG_CONFIG_SYSROOT_DIR=$TCSYSROOT diff --git a/zip/Makefile.am b/zip/Makefile.am index 92c46ad5dc..63a71307c7 100644 --- a/zip/Makefile.am +++ b/zip/Makefile.am @@ -6,7 +6,7 @@ include ../Makefile.incl SUBDIRS = zip unzip -AM_CPPFLAGS += -I$(top_srcdir)/zip -I$(top_srcdir) -I$(top_srcdir)/zip/zip -I$(top_srcdir)/zip/unzip -I$(top_srcdir)/lib -DUNIX -DDLL -DUSE_ZIPMAIN -DNO_OFF_T -DNO_CRYPT -DIZ_PWLEN=80 -Dinflate=inflate_boinc -Ddeflate=deflate_boinc -Dget_crc_table=get_crc_table_boinc -Dlongest_match=longest_match_boinc -Dinflate_codes=inflate_codes_boinc -Dcrc32=crc32_boinc +AM_CPPFLAGS += -I$(top_srcdir)/zip -I$(top_srcdir) -I$(top_srcdir)/zip/zip -I$(top_srcdir)/zip/unzip -I$(top_srcdir)/lib -DUNIX -DDLL -DUSE_ZIPMAIN -DNO_OFF_T -DNO_CRYPT -DNO_LCHOWN -DIZ_PWLEN=80 -Dinflate=inflate_boinc -Ddeflate=deflate_boinc -Dget_crc_table=get_crc_table_boinc -Dlongest_match=longest_match_boinc -Dinflate_codes=inflate_codes_boinc -Dcrc32=crc32_boinc if INSTALL_HEADERS pkginclude_HEADERS = boinc_zip.h