Commit adea180f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

With FreeBSD 10.3 on a BeagleBone PCRE JIT explodes in the pcre_study()

function.

Maybe we should have a configure-time test to see if it actually works,
but for now, just make autogen.des handle it.

Conflicts:
	autogen.des
parent ae8a0175
......@@ -6,6 +6,8 @@ set -ex
make -k distclean > /dev/null 2>&1 || true
OPTS=""
# Prefer CLANG if we have it, and have not given preferences
if [ -f /usr/bin/clang -a "x${CC}" = "x" ] ; then
CC=clang
......@@ -18,6 +20,10 @@ else
DST="--prefix=/opt/varnish --mandir=/opt/varnish/man"
fi
if [ "x`uname -po`" = "xFreeBSD armv6" ] ; then
OPTS="${OPTS} --disable-pcre-jit"
fi
rm -f configure
. ./autogen.sh 2>&1 | egrep -v "(subdir-objects|is in a subdirectory)"
......@@ -34,4 +40,5 @@ export CONFIG_SHELL=/bin/sh
--enable-debugging-symbols \
--enable-dependency-tracking \
--enable-tests \
$OPTS \
"$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment