summaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-09 20:49:28 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-10-09 20:49:28 (GMT)
commit416eb291985c1e04cddd1dacc6d3111f4cb02f5f (patch)
tree6b269996c20725a0d25e433323d44658f40e3aad /config/cc
parent8b0af28c69b5c6ad83f30fb4324630a383df7c72 (diff)
cc/gcc: add option to enable 128-bit long doubles
Needed by some PPC targets, at least. Requires gcc 4.2+ (noticed by Arnaud LACOMBE). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in.213
1 files changed, 13 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 1b4926b..c0434a7 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -105,3 +105,16 @@ config CC_GCC_LIBMUDFLAP
re-compilation and re-link, while it exists better run-time
alternatives (eg. DUMA, dmalloc...) that need neither re-
compilation nor re-link.
+
+config CC_GCC_LDBL_128
+ tristate
+ prompt "Enable 128-bit long doubles"
+ default m
+ depends on CC_GCC_4_2_or_later
+ help
+ Saying 'Y' will force gcc to use 128-bit wide long doubles
+ Saying 'N' will force gcc to use 64-bit wide long doubles
+ Saying 'M' will let gcc choose (default is 128-bit for
+ glibc >= 2.4, 64-bit otherwise)
+
+ If in doubt, keep the default, ie. 'M'.