From b91b655f370f7fd8feb0386a925b04c154d2702e Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Sun, 24 Apr 2022 08:34:33 -0400 Subject: [PATCH] jjb: binutils-gdb: add --enable-ubsan to configure flags This enables -fsanitize=undefined. Change-Id: I972f6b79cc2c0c3de22982adcd2a3f4965a6b7e8 --- scripts/binutils-gdb/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/binutils-gdb/build.sh b/scripts/binutils-gdb/build.sh index 28e2c05..18a749f 100755 --- a/scripts/binutils-gdb/build.sh +++ b/scripts/binutils-gdb/build.sh @@ -175,7 +175,7 @@ case "$conf" in # Enable optional features CONF_OPTS+=("--enable-targets=all" "--with-expat=yes" "--with-python=python3" "--with-guile=guile-2.2" "--enable-libctf") - CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests") + CONF_OPTS+=("--enable-build-warnings" "--enable-gdb-build-warnings" "--enable-unit-tests" "--enable-ubsan") ;; esac -- 2.34.1