Enable JIT support for PCRE2
The bundled PCRE2 library was built without JIT support.
This commit is contained in:
parent
b81c86f228
commit
83d696cdde
@ -6,7 +6,7 @@
|
||||
# to the CMakeLists.txt. You don't need to link against the pcre2 library
|
||||
# because the static symbols will be in MaxScale.
|
||||
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/
|
||||
BUILD_COMMAND make
|
||||
INSTALL_COMMAND "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user