Don't use '-z defs' if sanitizers are used
authorRichard Levitte <levitte@openssl.org>
Tue, 7 May 2019 08:48:30 +0000 (10:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 9 May 2019 04:41:42 +0000 (06:41 +0200)
commitad37edce684f97ce87868c121e39743b99580d7a
tree879b926b992b9469959c2ad4620b2d98bc0459c5
parent99592c73e7167990082626a46ea9286c152f85fd
Don't use '-z defs' if sanitizers are used

There are quite a number of sanitizers for clang that aren't
documented in the clang user documentation.  This makes it impossible
to be selective about what sanitizers to look at to determine if
'-z defs' should be used of not.

Under these circumstances, the sane thing to do is to just look for
any sanitizer specification and not use '-z defs' if there's one
present.

Fixes #8735

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8892)
Configurations/shared-info.pl