Android reduce toolchain cross-compilation time

No need to build restbed tests when cross-compiling the toolchain
This commit is contained in:
Gioacchino Mazzurco 2019-11-05 10:22:25 +01:00
parent 46ed509039
commit f162fe6d99
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -424,7 +424,7 @@ build_restbed()
rm -rf restbed-build; mkdir restbed-build ; cd restbed-build
cmake \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON BUILD_TESTS=OFF \
-DBUILD_SSL=OFF -DCMAKE_INSTALL_PREFIX="${PREFIX}" -B. -H../restbed
make -j${HOST_NUM_CPU}
make install