1.1 --- a/config/cc/gcc.in.2 Mon May 07 00:11:46 2012 +0200
1.2 +++ b/config/cc/gcc.in.2 Sun May 06 15:32:56 2012 +0200
1.3 @@ -152,6 +152,17 @@
1.4
1.5 The default is 'N'. Say 'Y' if you need it, and report success/failure.
1.6
1.7 +config CC_GCC_LIBQUADMATH
1.8 + bool
1.9 + prompt "Compile libquadmath"
1.10 + depends on CC_GCC_HAS_LIBQUADMATH
1.11 + help
1.12 + libquadmath is a library which provides quad-precision mathematical
1.13 + functions on targets supporting the __float128 datatype. See:
1.14 + http://gcc.gnu.org/onlinedocs/libquadmath/
1.15 +
1.16 + The default is 'N'. Say 'Y' if you need it, and report success/failure.
1.17 +
1.18 #-----------------------------------------------------------------------------
1.19
1.20 comment "Misc. obscure options."
2.1 --- a/scripts/build/cc/gcc.sh Mon May 07 00:11:46 2012 +0200
2.2 +++ b/scripts/build/cc/gcc.sh Sun May 06 15:32:56 2012 +0200
2.3 @@ -621,6 +621,15 @@
2.4 else
2.5 extra_config+=(--disable-libssp)
2.6 fi
2.7 + if [ "${CT_CC_GCC_HAS_LIBQUADMATH}" = "y" ]; then
2.8 + if [ "${CT_CC_GCC_LIBQUADMATH}" = "y" ]; then
2.9 + extra_config+=(--enable-libquadmath)
2.10 + extra_config+=(--enable-libquadmath-support)
2.11 + else
2.12 + extra_config+=(--disable-libquadmath)
2.13 + extra_config+=(--disable-libquadmath-support)
2.14 + fi
2.15 + fi
2.16
2.17 # *** WARNING ! ***
2.18 # Keep this full if-else-if-elif-fi-fi block in sync