summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc/gcc.in')
-rw-r--r--config/cc/gcc.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 9df1dfc..84d0abf 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -128,3 +128,19 @@ config CC_EXTRA_CONFIG
default ""
help
Extra flags to pass onto ./configure when configuring gcc.
+
+menuconfig CC_GCC_GMP_MPFR
+ bool
+ prompt "GMP and MPFR"
+ help
+ Recent gcc needs both GMP and MPFR to build some frontends.
+
+ Say 'Y' here if you want to build those two libraries specifically
+ for crosstool-NG.
+
+ Saying 'Y' is highly recommended if building gcc-4.3 or higher.
+
+if CC_GCC_GMP_MPFR
+source config/cc/gmp.in
+source config/cc/mpfr.in
+endif