From 72bcdab4dd7607d1e771e8ae4b45edeb95e16e97 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Thu, 13 Feb 2025 23:11:29 +0200 Subject: [PATCH] Support accepting PCRE_CONF_OPT from env variable. Needed for cross-compilation. Example: PCRE_CONF_OPT="--host aarch64-none-linux-gnu-" --- auto/options | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto/options b/auto/options index 6a6e990a0..9f445a25f 100644 --- a/auto/options +++ b/auto/options @@ -148,7 +148,8 @@ NGX_COMPAT=NO USE_PCRE=NO PCRE=NONE PCRE_OPT= -PCRE_CONF_OPT= +# Intentionally commented out to allow external flags to be passed +#PCRE_CONF_OPT= PCRE_JIT=NO PCRE2=YES