mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 17:20:42 +01:00
Also a couple of changes to testbench worth mentioning: * use cp -f to ensure files can be overwirtten in VBUILD * fix issue of missing include test file in EXTRA_DIST * new supressions * testbench: try to use local system dependency cache avoid going to Internet repos if not absolutely necessary. For development containers, they should be pre-populated with the important dependencies. * do not enable libfaketime if ASAN is selected unfortunately, libfaketime does not work in that case see also https://github.com/rsyslog/rsyslog/issues/174
14 lines
626 B
Bash
Executable File
14 lines
626 B
Bash
Executable File
#!/bin/bash
|
|
printf "running configure with\nCC:\t$CC\nCFLAGS:\t$CFLAGS\n"
|
|
export CONFIGURE_OPTS_OVERRIDE=
|
|
grep "sanitize.*=.*address" <<< "$CFLAGS" >/dev/null
|
|
if [ $? -eq 0 ]; then
|
|
printf "\n==========================================================\n"
|
|
printf "WARNING: address sanitizer requested. libfaketime is not\n"
|
|
printf "compatible with it. DISABLED LIBFAKETIME TESTS.\n"
|
|
printf "==========================================================\n\n"
|
|
export CONFIGURE_OPTS_OVERRIDE=--disable-libfaketime
|
|
fi
|
|
autoreconf -fvi
|
|
./configure $RSYSLOG_CONFIGURE_OPTIONS $RSYSLOG_CONFIGURE_OPTIONS_EXTRA $CONFIGURE_OPTS_OVERRIDE
|