X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fandroid%2Fsigrok-cross-android;h=d490d9a95c26a06be48dc7bac565171cdc08be43;hp=8e9356b64ee21c0db07ed399a9fccb8c74d63221;hb=7b5d29b694e64356ec5ece92f2048f846e3c83a2;hpb=c495c6dd988f138cbd0563971532052a08e2b1da diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index 8e9356b..d490d9a 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -227,6 +227,7 @@ ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no ac_cv_func_pipe2=no ac_cv_func_fd sed -i "s/^#zlib/zlib/g" Modules/Setup sed -i "s/^#math/math/g" Modules/Setup sed -i "s/^#time/time/g" Modules/Setup +sed -i "s/^#_struct/_struct/g" Modules/Setup make PYTHON_FOR_BUILD='_PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) ./hostpython' install $V cd .. @@ -442,7 +443,7 @@ $WGET http://$SF_MIRROR/project/boost/boost/$VER_BOOST/boost_${VER_BOOST//./_}.t tar xfj boost_${VER_BOOST//./_}.tar.bz2 cd boost_${VER_BOOST//./_} patch -p0 < ../../boost_wchar.patch -CC= ./bootstrap.sh --with-toolset=gcc --with-libraries=filesystem,system,thread,serialization,test --without-icu +CC= ./bootstrap.sh --with-toolset=gcc --with-libraries=filesystem,system,serialization,test --without-icu echo "using gcc : $NDK_TOOLCHAIN_VERSION : \"${TOOLCHAIN_TRIPLET}-g++\" : \"$SYSROOT -I$PREFIX/include $CPPFLAGS_STL\" \"$SYSROOT -L$PREFIX/lib $LDFLAGS_STL -lgnustl_shared\" ;" > user-config.jam ./b2 -q -d+2 --ignore-site-config --user-config=user-config.jam toolset=gcc variant=release link=shared threading=multi runtime-link=shared target-os=android --prefix=$PREFIX --layout=system install $PARALLEL cd .. @@ -475,7 +476,7 @@ CC= CXX= ./configure \ -skip qtwebchannel \ -skip qtwebsockets \ -skip qtxmlpatterns \ - -opensource -confirm-license -silent + -opensource -confirm-license -silent -no-warnings-are-errors export ANDROID_API_VERSION=android-$VER_AND_API export ANDROID_BUILD_TOOLS_REVISION=$VER_AND_BT make module-qtbase module-qtandroidextras module-qtsvg module-qtimageformats $PARALLEL $V