summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in.2
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r--config/cc/gcc.in.211
1 files changed, 11 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index c200d22..2c5d45e 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -182,6 +182,17 @@ config CC_GCC_LIBSANITIZER
The default is 'N'. Say 'Y' if you need it, and report success/failure.
+config CC_GCC_LIBMPX
+ bool
+ default y
+ prompt "Compile libmpx"
+ depends on CC_GCC_HAS_LIBMPX
+ depends on ARCH_x86
+ # MUSL does not define libc types that GCC requires. Mingw lacks certain headers.
+ depends on !LIBC_musl && ! LIBC_mingw
+ help
+ Enable GCC support for Intel Memory Protection Extensions (MPX).
+
#-----------------------------------------------------------------------------
comment "Misc. obscure options."