jjb: binutils-gdb: add --enable-ubsan to configure flags
authorSimon Marchi <simon.marchi@polymtl.ca>
Sun, 24 Apr 2022 12:34:33 +0000 (08:34 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 5 Jul 2022 20:16:20 +0000 (16:16 -0400)
This enables -fsanitize=undefined.

Change-Id: I972f6b79cc2c0c3de22982adcd2a3f4965a6b7e8

scripts/binutils-gdb/build.sh

index 28e2c05d09838c04965d0324b4a2b6792c4b927d..18a749f960a81f2dea20c7f90f2c9df62124b666 100755 (executable)
@@ -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
This page took 0.023901 seconds and 4 git commands to generate.