Skip to content

Commit

Permalink
build-with-cyruslibs.sh: Allow ENV var to set up sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfsage committed Feb 12, 2025
1 parent f115538 commit e84f2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build-with-cyruslibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ set -e
: ${CONFIGOPTS:="--enable-jmap --enable-http --enable-calalarmd --enable-unit-tests --enable-replication --enable-nntp --enable-murder --enable-idled --enable-xapian --enable-autocreate --enable-silent-rules --enable-debug-slowio"}
export LDFLAGS="-L$LIBSDIR/lib/x86_64-linux-gnu -L$LIBSDIR/lib -Wl,-rpath,$LIBSDIR/lib/x86_64-linux-gnu -Wl,-rpath,$LIBSDIR/lib"
export PKG_CONFIG_PATH="$LIBSDIR/lib/x86_64-linux-gnu/pkgconfig:$LIBSDIR/lib/pkgconfig:\$PKG_CONFIG_PATH"
export CFLAGS="-g -fPIC -W -Wall -Wextra -Werror -Wwrite-strings"
export CXXFLAGS="-g -fPIC -W -Wall -Wextra -Werror"
export CFLAGS="$CYRUS_SAN_FLAGS -g -fPIC -W -Wall -Wextra -Werror -Wwrite-strings"
export CXXFLAGS="$CYRUS_SAN_FLAGS -g -fPIC -W -Wall -Wextra -Werror"
export PATH="$LIBSDIR/bin:$PATH"
autoreconf -v -i
echo "./configure --prefix=$TARGET $CONFIGOPTS XAPIAN_CONFIG=$LIBSDIR/bin/xapian-config-1.5"
Expand Down

0 comments on commit e84f2ba

Please sign in to comment.