diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-08-18 23:18:44 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-08-19 10:38:24 +0300 |
commit | 6dd3f24090ce2d237037eb09cf7db083ebbc92f9 (patch) | |
tree | 9f7eac51d80ecb434ec5e695b2667fcf3f5d1b85 /cmake | |
parent | 44150a770fd861c3837df34357c794432baf8882 (diff) | |
download | mariadb-git-6dd3f24090ce2d237037eb09cf7db083ebbc92f9.tar.gz |
MDEV-19740 Debug build of 10.3.15 FTBFS
* Replace LINT_INIT for non-struct types with ctor initializers;
* Check BUILD_DEPS list is not empty so REMOVE_DUPLICATES won't throw
error.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/build_depends.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmake/build_depends.cmake b/cmake/build_depends.cmake index 333df580200..5adaee33740 100644 --- a/cmake/build_depends.cmake +++ b/cmake/build_depends.cmake @@ -39,6 +39,8 @@ IF(RPM) SET(BUILD_DEPS ${BUILD_DEPS} ${${V}_DEP}) ENDIF() ENDFOREACH() - LIST(REMOVE_DUPLICATES BUILD_DEPS) - STRING(REPLACE ";" " " CPACK_RPM_BUILDREQUIRES "${BUILD_DEPS}") + IF (BUILD_DEPS) + LIST(REMOVE_DUPLICATES BUILD_DEPS) + STRING(REPLACE ";" " " CPACK_RPM_BUILDREQUIRES "${BUILD_DEPS}") + ENDIF() ENDIF(RPM) |