summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 13:32:56 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-05-06 13:32:56 (GMT)
commit27e8b280f9f9d514b029b21d3116cc845dc72bd1 (patch)
tree46c08dcfeb4e97b14d696a6734102e36f3b7821b /scripts
parentb8425e99b9aaefd5d85f5f97f5b85f72502c8ff0 (diff)
cc/gcc: add option to enable/disable libquadmath
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/cc/gcc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 8dea3dc..d9930e2 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -621,6 +621,15 @@ do_cc_backend() {
else
extra_config+=(--disable-libssp)
fi
+ if [ "${CT_CC_GCC_HAS_LIBQUADMATH}" = "y" ]; then
+ if [ "${CT_CC_GCC_LIBQUADMATH}" = "y" ]; then
+ extra_config+=(--enable-libquadmath)
+ extra_config+=(--enable-libquadmath-support)
+ else
+ extra_config+=(--disable-libquadmath)
+ extra_config+=(--disable-libquadmath-support)
+ fi
+ fi
# *** WARNING ! ***
# Keep this full if-else-if-elif-fi-fi block in sync