mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-15 19:50:40 +01:00
The core ID is to use this script together with pretty generic buildbot workers. This provides a simple way to load-balance across the worker pool.
18 lines
752 B
Bash
Executable File
18 lines
752 B
Bash
Executable File
#!/bin/bash
|
|
printf "running configure with\nCC:\t$CC\nCFLAGS:\t$CFLAGS\n"
|
|
if [ "$RSYSLOG_CONFIGURE_OPTIONS_OVERRIDE" != "" ]; then
|
|
RSYSLOG_CONFIGURE_OPTIONS="$RSYSLOG_CONFIGURE_OPTIONS_OVERRIDE"
|
|
fi
|
|
|
|
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
|