cc/gcc: fix 128-bit long doubles option
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Oct 20 15:25:38 2010 +0200 (2010-10-20)
changeset 2153ef0142a8ad4c
parent 2152 fb34f799f05b
child 2154 250cdcc86441
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" <yann.morin.1998@anciens.enib.fr>
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Mon Oct 18 21:50:26 2010 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Wed Oct 20 15:25:38 2010 +0200
     1.3 @@ -192,8 +192,8 @@
     1.4      fi
     1.5  
     1.6      case "${CT_CC_GCC_LDBL_128}" in
     1.7 -        Y)  extra_config+=("--with-long-double-128");;
     1.8 -        M)  ;;
     1.9 +        y)  extra_config+=("--with-long-double-128");;
    1.10 +        m)  ;;
    1.11          "") extra_config+=("--without-long-double-128");;
    1.12      esac
    1.13  
    1.14 @@ -438,8 +438,8 @@
    1.15      fi
    1.16  
    1.17      case "${CT_CC_GCC_LDBL_128}" in
    1.18 -        Y)  extra_config+=("--with-long-double-128");;
    1.19 -        M)  ;;
    1.20 +        y)  extra_config+=("--with-long-double-128");;
    1.21 +        m)  ;;
    1.22          "") extra_config+=("--without-long-double-128");;
    1.23      esac
    1.24