mysql: use build_with_debug() helper function

This commit is contained in:
MilhouseVH 2018-02-19 07:08:48 +00:00
parent 18337762d0
commit 9dd6be587a

View File

@ -55,7 +55,7 @@ PKG_CMAKE_OPTS_HOST="-DCMAKE_BUILD_TYPE=Release \
-DWITH_UNIT_TESTS=OFF \
-DWITH_ZLIB=bundled"
if [ "$DEBUG" = yes -a "$TARGET_ARCH" = aarch64 ]; then
if build_with_debug && [ "$TARGET_ARCH" = aarch64 ]; then
pre_configure_target() {
strip_lto
}