You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
587 B

diff -u -r ../mariadb-10.2.10/cmake/pcre.cmake ./cmake/pcre.cmake
--- ../mariadb-10.2.10/cmake/pcre.cmake 2017-10-30 09:10:43.000000000 +0100
+++ ./cmake/pcre.cmake 2017-11-07 04:56:54.904935897 +0100
@@ -6,7 +6,9 @@
MACRO (CHECK_PCRE)
IF(WITH_PCRE STREQUAL "system" OR WITH_PCRE STREQUAL "auto")
CHECK_LIBRARY_EXISTS(pcre pcre_stack_guard "" HAVE_PCRE_STACK_GUARD)
- IF(NOT CMAKE_CROSSCOMPILING)
+ IF(CMAKE_CROSSCOMPILING)
+ SET(PCRE_STACK_SIZE_OK TRUE)
+ ELSE()
SET(CMAKE_REQUIRED_LIBRARIES "pcre")
CHECK_C_SOURCE_RUNS("
#include <pcre.h>