For one, Clang appears to support __has_feature since at least 3.x times. That simplifies the first check, from14955ed91b"external/firebird: Support Clang ASan". And for another, the second check, from25764ffd4d"external/firebird: Better workaround for Clang alignment expectations", can be simplified now that we no longer support neither Clang < 4 on Linux (since685aca47da"Bump (Linux) Clang baseline to 5.0.2") nor Xcode < 9 on macOS (sinceb4f666f2e6"Bump Xcode baseline to 9.3"). But that means we are always setting USE_ASAN when building with Clang now (to work around certain Clang alignment expectations, regardless of whether or not we build with -fsanitize=address). Nevertheless, keep the __has_feature(address_sanitizer) check as a comment, to make this a bit clearer. Change-Id: Idc9720bd763bc1e00585773ef096202e2a8a6a59 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89162 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Firebird is an embeddable SQL RDBMS implemented in C++ http://firebirdsql.org/