]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
pcre: Enable JIT
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Dec 2018 15:42:23 +0000 (15:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Dec 2018 15:44:32 +0000 (15:44 +0000)
This is now possible because we no longer run grsecurity-enabled
kernels. The performance of PCRE increases dramatically and applications
like the IDS benefit hugely:

  https://blog.inliniac.net/2011/10/12/suricata-and-pcre-performance/

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/127/filelists/pcre [new symlink]
lfs/pcre

diff --git a/config/rootfiles/core/127/filelists/pcre b/config/rootfiles/core/127/filelists/pcre
new file mode 120000 (symlink)
index 0000000..b390d9a
--- /dev/null
@@ -0,0 +1 @@
+../../../common/pcre
\ No newline at end of file
index 66b34cc30c93ad64c13e023df40f3feccbe981b1..dc6621f1c1b0b8fdb3ac8d5dfe4e212397d35714 100644 (file)
--- a/lfs/pcre
+++ b/lfs/pcre
@@ -74,7 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --prefix=/usr \
                --disable-static \
                --enable-utf8 \
-               --disable-jit \
+               --enable-jit \
                --enable-pcre16 \
                --enable-pcre32 \
                --enable-pcregrep-libz \