From 5b2d7f39aed7cde9d32f29aa6da4a407b861595b Mon Sep 17 00:00:00 2001 From: r4sas Date: Fri, 28 Jan 2022 10:08:54 +0000 Subject: [PATCH] modify build flags to reduce output Signed-off-by: r4sas --- app/jni/build_boost.sh | 2 +- app/jni/build_openssl.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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)