From 56b433adbfcf3ab46e96882cb82c114ea885c644 Mon Sep 17 00:00:00 2001 From: Dongge Liu Date: Tue, 22 Nov 2022 16:11:30 +1100 Subject: [PATCH] Disable Werror on unused-command-line-argument --- infra/base-images/base-builder/compile_centipede | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/compile_centipede b/infra/base-images/base-builder/compile_centipede index 056a7537c6bb..acf4112e218d 100755 --- a/infra/base-images/base-builder/compile_centipede +++ b/infra/base-images/base-builder/compile_centipede @@ -27,7 +27,7 @@ cp "$BIN_DIR/libcentipede_runner.pic.a" "$LIB_FUZZING_ENGINE" export DFTRACING_FLAGS='-fsanitize-coverage=trace-loads' export CENTIPEDE_FLAGS=`cat "$SRC/centipede/clang-flags.txt" | tr '\n' ' '` -export LIBRARIES_FLAGS="-ldl -lrt -lpthread $SRC/centipede/weak.o" +export LIBRARIES_FLAGS="-Wno-error=unused-command-line-argument -ldl -lrt -lpthread $SRC/centipede/weak.o" export CFLAGS="$CFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS" export CXXFLAGS="$CXXFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS"