From 40a6d7ffdb863382856a2155b1253af5686e66e7 Mon Sep 17 00:00:00 2001 From: Catena cyber <35799796+catenacyber@users.noreply.github.com> Date: Fri, 10 Jan 2020 16:04:42 +0100 Subject: [PATCH] Silence unsigned overflow (#3216) --- projects/binutils/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/binutils/build.sh b/projects/binutils/build.sh index 1ca33515b..0c6fcc498 100755 --- a/projects/binutils/build.sh +++ b/projects/binutils/build.sh @@ -17,8 +17,8 @@ # build project if [ "$SANITIZER" = undefined ]; then - export CFLAGS="$CFLAGS -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow" - export CXXFLAGS="$CXXFLAGS -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow" + export CFLAGS="$CFLAGS -fno-sanitize=unsigned-integer-overflow" + export CXXFLAGS="$CXXFLAGS -fno-sanitize=unsigned-integer-overflow" fi cd binutils-gdb ./configure --disable-gdb --enable-targets=all