diff options
author | Alexey Neyman <stilor@att.net> | 2016-09-22 17:01:43 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-09-22 17:01:43 -0700 |
commit | 651567ff9093092a7d4aeabec44a55f563c6a231 (patch) | |
tree | 0a498573fe9d6626986ca6a1ecbedd471a5cf752 /config/cc | |
parent | 531eab4c5650c7d51fa1c527c370b690ac50a8ab (diff) | |
download | crosstool-ng-651567ff9093092a7d4aeabec44a55f563c6a231.tar.gz crosstool-ng-651567ff9093092a7d4aeabec44a55f563c6a231.tar.bz2 crosstool-ng-651567ff9093092a7d4aeabec44a55f563c6a231.zip |
Add a checkbox for libmpx build.
Disable libmpx for musl builds.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/cc')
-rw-r--r-- | config/cc/gcc.in | 5 | ||||
-rw-r--r-- | config/cc/gcc.in.2 | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 101f2b27..9cc903f0 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -160,6 +160,7 @@ config CC_GCC_5 select CC_GCC_HAS_LNK_HASH_STYLE select CC_GCC_HAS_LIBQUADMATH select CC_GCC_HAS_LIBSANITIZER + select CC_GCC_HAS_LIBMPX select CC_SUPPORT_GOLANG config CC_GCC_5_or_later @@ -178,6 +179,7 @@ config CC_GCC_6 select CC_GCC_HAS_LNK_HASH_STYLE select CC_GCC_HAS_LIBQUADMATH select CC_GCC_HAS_LIBSANITIZER + select CC_GCC_HAS_LIBMPX select CC_SUPPORT_GOLANG config CC_GCC_6_or_later @@ -276,6 +278,9 @@ config CC_GCC_HAS_LIBQUADMATH config CC_GCC_HAS_LIBSANITIZER bool +config CC_GCC_HAS_LIBMPX + bool + if ! CC_GCC_CUSTOM config CC_GCC_VERSION diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index c200d22c..b7353dfa 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -182,6 +182,16 @@ 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 + depends on !LIBC_musl # MUSL does not define libc types that GCC requires + help + Enable GCC support for Intel Memory Protection Extensions (MPX). + #----------------------------------------------------------------------------- comment "Misc. obscure options." |