From: Simon Marchi Date: Sun, 24 Apr 2022 12:34:33 +0000 (-0400) Subject: jjb: binutils-gdb: add --enable-ubsan to configure flags X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b91b655f370f7fd8feb0386a925b04c154d2702e;p=lttng-ci.git jjb: binutils-gdb: add --enable-ubsan to configure flags This enables -fsanitize=undefined. Change-Id: I972f6b79cc2c0c3de22982adcd2a3f4965a6b7e8 --- 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