From 464b4a9a7633ab98dde0bd0ec0bd849e7a9907c7 Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Tue, 19 Oct 2021 10:33:12 +0100 Subject: [PATCH] frr: fix build (#6618) --- projects/frr/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/frr/build.sh b/projects/frr/build.sh index ad1584e47..181fe1b7b 100755 --- a/projects/frr/build.sh +++ b/projects/frr/build.sh @@ -37,6 +37,8 @@ make install # build project export ASAN_OPTIONS=detect_leaks=0 +export CFLAGS="${CFLAGS} -DFUZZING_OVERRIDE_LLVMFuzzerTestOneInput" +export CXXFLAGS="${CXXFLAGS} -DFUZZING_OVERRIDE_LLVMFuzzerTestOneInput" ./bootstrap.sh ./configure --enable-libfuzzer --enable-static --enable-static-bin --sbindir=$SRC/bin make -j$(nproc)