Skip to content

Commit

Permalink
conf: enable ubsan for debug builds
Browse files Browse the repository at this point in the history
Ubsan turned out to be really useful.
  • Loading branch information
stsp committed Nov 13, 2018
1 parent 06fa4ed commit b1b6b10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions compiletime-settings.devel
@@ -1,6 +1,7 @@
config {
experimental on
debug on
ubsan on
system-wa off
sysconfdir /etc
fdtarball dosemu-freedos-1.0-bin.tgz
Expand Down
3 changes: 3 additions & 0 deletions default-configure
Expand Up @@ -53,6 +53,9 @@ while [ "$1" != "" ]; do
asan)
if [ "$2" = "on" ]; then STRING="$STRING --enable-asan"; fi
;;
ubsan)
if [ "$2" = "on" ]; then STRING="$STRING --enable-ubsan"; fi
;;
system-wa)
if [ "$2" = "off" ]; then STRING="$STRING --disable-system-wa"; fi
;;
Expand Down

0 comments on commit b1b6b10

Please sign in to comment.