build-package.sh: define CMAKE_STRIP when configuring cmake build

This commit is contained in:
Leonid Pliushch 2021-04-18 17:19:41 +03:00
parent d24f70234c
commit 679c8645ed
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -36,6 +36,7 @@ termux_step_configure_cmake() {
-DCMAKE_AR="$(command -v $AR)" \
-DCMAKE_UNAME="$(command -v uname)" \
-DCMAKE_RANLIB="$(command -v $RANLIB)" \
-DCMAKE_STRIP="$(command -v $STRIP)" \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_C_FLAGS="$CFLAGS $CPPFLAGS" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS $CPPFLAGS" \