Browse Source

modify build flags to reduce output

Signed-off-by: r4sas <r4sas@i2pmail.org>
pull/35/head
R4SAS 3 years ago
parent
commit
5b2d7f39ae
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      app/jni/build_boost.sh
  2. 5
      app/jni/build_openssl.sh

2
app/jni/build_boost.sh

@ -13,7 +13,7 @@ REMOVE_BOOST_LIBS_SUFFIX_ARM=-clang-mt-a32-${BOOST_VERSION_SUFFIX}
function build_one { function build_one {
echo "Configuring and building..." echo "Configuring and building..."
CXXFLAGS="-std=c++17" \ CXXFLAGS="-std=c++14" \
NCPU=$(nproc) \ NCPU=$(nproc) \
./build-android.sh \ ./build-android.sh \
--boost=${BOOST_VERSION} \ --boost=${BOOST_VERSION} \

5
app/jni/build_openssl.sh

@ -7,11 +7,12 @@ function build_one {
echo "Configuring OpenSSL for ${CPU}..." echo "Configuring OpenSSL for ${CPU}..."
./Configure \ ./Configure \
--prefix="$PWD/output" \
${TARGET} \ ${TARGET} \
no-shared \ no-shared \
no-tests \ no-tests \
--prefix="$PWD/output" \ -D__ANDROID_API__=${API} \
-D__ANDROID_API__=${API} -Wno-macro-redefined
echo "Building OpenSSL for ${CPU}..." echo "Building OpenSSL for ${CPU}..."
make -j $(nproc) make -j $(nproc)

Loading…
Cancel
Save