diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-06-30 21:15:25 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-07-11 19:49:23 +1200 |
commit | f5e0d33ab46086c88ce800bb80be547c046a0efa (patch) | |
tree | daf486332fff1cb29e0378167147018eaf9f743c /config/target.in | |
parent | bcb053baf629902a63c88b1910d58603f1498fe6 (diff) | |
download | crosstool-ng-f5e0d33ab46086c88ce800bb80be547c046a0efa.tar.gz crosstool-ng-f5e0d33ab46086c88ce800bb80be547c046a0efa.tar.bz2 crosstool-ng-f5e0d33ab46086c88ce800bb80be547c046a0efa.zip |
Allow libsanitizer on architectures that support it
libsanitizer is only supported on selected architectures. Add
ARCH_SUPPORTS_LIBSANITIZER and have architectures select this option
based on the list of supported configurations from GCC's
libsanitizer/configure.tgt. Support for mips64 was added in GCC12 so
this is an additional condition for the mips architecture.
Fixes #1733
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'config/target.in')
-rw-r--r-- | config/target.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in index 995457a0..21302622 100644 --- a/config/target.in +++ b/config/target.in @@ -112,6 +112,10 @@ config ARCH_SUPPORTS_FLAT_FORMAT bool #-------------------------------------- +config ARCH_SUPPORTS_LIBSANITIZER + bool + +#-------------------------------------- config ARCH_SUPPORTS_EITHER_ENDIAN bool help |