Enable JIT support for PCRE2
The bundled PCRE2 library was built without JIT support.
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# to the CMakeLists.txt. You don't need to link against the pcre2 library
|
# to the CMakeLists.txt. You don't need to link against the pcre2 library
|
||||||
# because the static symbols will be in MaxScale.
|
# because the static symbols will be in MaxScale.
|
||||||
ExternalProject_Add(pcre2 SOURCE_DIR ${CMAKE_SOURCE_DIR}/pcre2/
|
ExternalProject_Add(pcre2 SOURCE_DIR ${CMAKE_SOURCE_DIR}/pcre2/
|
||||||
CMAKE_ARGS -DCMAKE_C_FLAGS=-fPIC -DBUILD_SHARED_LIBS=N -DPCRE2_BUILD_PCRE2GREP=N -DPCRE2_BUILD_TESTS=N
|
CMAKE_ARGS -DCMAKE_C_FLAGS=-fPIC -DBUILD_SHARED_LIBS=N -DPCRE2_BUILD_PCRE2GREP=N -DPCRE2_BUILD_TESTS=N -DPCRE2_SUPPORT_JIT=Y
|
||||||
BINARY_DIR ${CMAKE_BINARY_DIR}/pcre2/
|
BINARY_DIR ${CMAKE_BINARY_DIR}/pcre2/
|
||||||
BUILD_COMMAND make
|
BUILD_COMMAND make
|
||||||
INSTALL_COMMAND "")
|
INSTALL_COMMAND "")
|
||||||
|
Reference in New Issue
Block a user