aboutsummaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index ea7103b8..b77efba8 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -258,17 +258,24 @@ config CC_GCC_LIBQUADMATH
The default is 'N'. Say 'Y' if you need it, and report success/failure.
config CC_GCC_LIBSANITIZER
- bool
+ tristate
prompt "Compile libsanitizer"
depends on THREADS_NATIVE
depends on !LIBC_UCLIBC_NG && !LIBC_MUSL # Currently lacks required headers (like netrom.h)
+ depends on ARCH_SUPPORTS_LIBSANITIZER
help
libsanitizer is a library which provides run-time sanitising of either
or both of:
- memory access patterns (out-of-bonds, use-after-free)
- racy data accesses (in multi-threaded programs)
- The default is 'N'. Say 'Y' if you need it, and report success/failure.
+ Option | libsanitizer | Associated ./configure switch
+ ---------+--------------------+--------------------------------
+ Y | forcibly used | --enable-libsanitizer
+ M | auto | (none, ./configure decides)
+ N | forcibly not used | --disable-libsanitizer
+
+ The default is 'N'. Say 'Y' or 'M' if you need it, and report success/failure.
config CC_GCC_LIBMPX
bool