diff --git a/app/jni/build_boost.sh b/app/jni/build_boost.sh index cb389e2..9552b74 100755 --- a/app/jni/build_boost.sh +++ b/app/jni/build_boost.sh @@ -13,7 +13,7 @@ REMOVE_BOOST_LIBS_SUFFIX_ARM=-clang-mt-a32-${BOOST_VERSION_SUFFIX} function build_one { echo "Configuring and building..." - CXXFLAGS="-std=c++17" \ + CXXFLAGS="-std=c++14" \ NCPU=$(nproc) \ ./build-android.sh \ --boost=${BOOST_VERSION} \ diff --git a/app/jni/build_openssl.sh b/app/jni/build_openssl.sh index b183519..12cf9cb 100755 --- a/app/jni/build_openssl.sh +++ b/app/jni/build_openssl.sh @@ -7,11 +7,12 @@ function build_one { echo "Configuring OpenSSL for ${CPU}..." ./Configure \ + --prefix="$PWD/output" \ ${TARGET} \ no-shared \ no-tests \ - --prefix="$PWD/output" \ - -D__ANDROID_API__=${API} + -D__ANDROID_API__=${API} \ + -Wno-macro-redefined echo "Building OpenSSL for ${CPU}..." make -j $(nproc)