scripts/build/cc/gcc.sh
changeset 2782 e3e1c9d45bdd
parent 2780 03ab39f149b4
child 2814 3dc2727ebffc
     1.1 --- a/scripts/build/cc/gcc.sh	Thu Nov 17 18:00:28 2011 +0800
     1.2 +++ b/scripts/build/cc/gcc.sh	Fri Nov 18 11:32:50 2011 +0800
     1.3 @@ -291,6 +291,8 @@
     1.4  
     1.5      [ "${CT_TOOLCHAIN_ENABLE_NLS}" != "y" ] && extra_config+=("--disable-nls")
     1.6  
     1.7 +    [ "${CT_CC_GCC_DISABLE_PCH}" = "y" ] && extra_config+=("--disable-libstdcxx-pch")
     1.8 +
     1.9      CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
    1.10  
    1.11      # Use --with-local-prefix so older gccs don't look in /usr/local (http://gcc.gnu.org/PR10532)