diff -r 17e9137b962e -r c7126e94e286 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri Oct 08 23:51:38 2010 +0200 +++ b/scripts/build/cc/gcc.sh Sat Oct 09 22:49:28 2010 +0200 @@ -191,6 +191,12 @@ extra_config+=("--enable-target-optspace") fi + case "${CT_CC_GCC_LDBL_128}" in + Y) extra_config+=("--with-long-double-128");; + M) ;; + "") extra_config+=("--without-long-double-128");; + esac + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532) @@ -420,6 +426,12 @@ extra_config+=("--disable-libstdcxx-pch") fi + case "${CT_CC_GCC_LDBL_128}" in + Y) extra_config+=("--with-long-double-128");; + M) ;; + "") extra_config+=("--without-long-double-128");; + esac + CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" # --enable-symvers=gnu really only needed for sh4 to work around a