1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Run ./configure for PCRE2 also with original CFLAGS

(and not with the ones we add during ./Config like -Wall -Wextra etc...)

Seen while debugging some other problem
This commit is contained in:
Bram Matthys
2025-11-07 18:39:40 +01:00
parent 8e6ee0ba6a
commit 4e0eaecb33
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -640,7 +640,11 @@ else
fi
AC_MSG_RESULT(configuring PCRE2 regex library)
cd pcre2-$pcre2_version
save_cflags="$CFLAGS"
CFLAGS="$orig_cflags"
export CFLAGS
./configure --enable-jit --enable-shared --prefix=$cur_dir/extras/pcre2 --libdir=$PRIVATELIBDIR || exit 1
CFLAGS="$save_cflags"
AC_MSG_RESULT(compiling PCRE2 regex library)
$ac_cv_prog_MAKER || exit 1
AC_MSG_RESULT(installing PCRE2 regex library)