summaryrefslogtreecommitdiffstats
path: root/rules/host-libpcre.make
blob: 73d85bd0da7d9fbb2966be1480d2b5d24720b4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*-makefile-*-
#
# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_LIBPCRE) += host-libpcre

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
# Note: the --enable-newline-* options are broken. Only one should be used
HOST_LIBPCRE_CONF_TOOL := autoconf
HOST_LIBPCRE_CONF_OPT :=\
	 $(HOST_AUTOCONF) \
	--enable-pcre8 \
	--enable-pcre16 \
	--enable-pcre32 \
	--disable-cpp \
	--disable-jit \
	--enable-pcregrep-jit \
	--disable-rebuild-chartables \
	--enable-utf \
	--enable-unicode-properties \
	--enable-newline-is-lf \
	--disable-bsr-anycrlf \
	--disable-ebcdic \
	--disable-ebcdic-nl25 \
	--enable-stack-for-recursion \
	--disable-pcregrep-libz \
	--disable-pcregrep-libbz2 \
	--disable-pcretest-libedit \
	--disable-pcretest-libreadline \
	--disable-valgrind \
	--disable-coverage \
	--with-pcregrep-bufsize=20480 \
	--with-posix-malloc-threshold=10 \
	--with-link-size=2 \
	--with-parens-nest-limit=250 \
	--with-match-limit=10000000 \
	--with-match-limit-recursion=10000000

# vim: syntax=make