From 2b912ba84058489780c6fb673c894860bc9147af Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 20 Oct 2010 15:25:38 +0200 Subject: cc/gcc: fix 128-bit long doubles option Spotted by Arnaud LACOMBE: http://sourceware.org/ml/crossgcc/2010-10/msg00122.html Signed-off-by: "Yann E. MORIN" diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index db91f86..2dffb35 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -192,8 +192,8 @@ do_cc_core() { fi case "${CT_CC_GCC_LDBL_128}" in - Y) extra_config+=("--with-long-double-128");; - M) ;; + y) extra_config+=("--with-long-double-128");; + m) ;; "") extra_config+=("--without-long-double-128");; esac @@ -438,8 +438,8 @@ do_cc() { fi case "${CT_CC_GCC_LDBL_128}" in - Y) extra_config+=("--with-long-double-128");; - M) ;; + y) extra_config+=("--with-long-double-128");; + m) ;; "") extra_config+=("--without-long-double-128");; esac -- cgit v0.10.2-6-g49f6