summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-08-19 15:48:34 +0200
committerPauli <pauli@openssl.org>2022-08-23 10:16:06 +1000
commit83529f07ca66ec288f1c506a673569b9d8de8368 (patch)
tree782bcc8e47f0bd9f026b33610f3b60190fcabe3b /Configure
parenta148f864a86ba5f6999825dad9a98280bd054cbc (diff)
downloadopenssl-new-83529f07ca66ec288f1c506a673569b9d8de8368.tar.gz
Always automatically add -DPEDANTIC with enable-ubsan
To avoid reports like: #19028 Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19029)
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure4
1 files changed, 1 insertions, 3 deletions
diff --git a/Configure b/Configure
index 76f5d6299f..b5ee68d54d 100755
--- a/Configure
+++ b/Configure
@@ -1509,9 +1509,7 @@ unless ($disabled{asan} || defined $detected_sanitizers{asan}) {
}
unless ($disabled{ubsan} || defined $detected_sanitizers{ubsan}) {
- # -DPEDANTIC or -fnosanitize=alignment may also be required on some
- # platforms.
- push @{$config{cflags}}, "-fsanitize=undefined", "-fno-sanitize-recover=all";
+ push @{$config{cflags}}, "-fsanitize=undefined", "-fno-sanitize-recover=all", "-DPEDANTIC";
}
unless ($disabled{msan} || defined $detected_sanitizers{msan}) {