mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 16:57:44 +00:00
doc: update topotests doc for address sanitizer
Use the `--enable-address-sanitizer` option instead of the manual version using environment flags. This also avoids the problem of having to remember to skip clippy with the custom flags: ``` make -C lib CFLAGS="-g -O2" LDFLAGS="-g" clippy ``` The snippet above is not needed with `--enable-address-sanitizer`! Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
65209e4fbf
commit
4260f16567
@ -189,11 +189,8 @@ for ``master`` branch:
|
||||
git clone https://github.com/FRRouting/frr.git
|
||||
cd frr
|
||||
./bootstrap.sh
|
||||
export CC=gcc
|
||||
export CFLAGS="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
|
||||
export LD=gcc
|
||||
export LDFLAGS="-g -fsanitize=address -ldl"
|
||||
./configure --enable-shared=no \
|
||||
./configure \
|
||||
--enable-address-sanitizer \
|
||||
--prefix=/usr/lib/frr --sysconfdir=/etc/frr \
|
||||
--localstatedir=/var/run/frr \
|
||||
--sbindir=/usr/lib/frr --bindir=/usr/lib/frr \
|
||||
|
Loading…
Reference in New Issue
Block a user