diff -r d1f70bef45ba -r efb1058baa31 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Wed Jul 28 23:53:09 2010 +0200 +++ b/scripts/build/cc/gcc.sh Wed Jul 28 23:55:10 2010 +0200 @@ -195,6 +195,7 @@ --prefix="${core_prefix_dir}" \ --with-local-prefix="${CT_SYSROOT_DIR}" \ --disable-multilib \ + --disable-libmudflap \ ${CC_CORE_SYSROOT_ARG} \ "${extra_config[@]}" \ --disable-nls \ @@ -340,6 +341,11 @@ if [ -n "${CC_ENABLE_CXX_FLAGS}" ]; then extra_config+=("--enable-cxx-flags=${CC_ENABLE_CXX_FLAGS}") fi + if [ "${CT_CC_GCC_LIBMUDFLAP}" = "y" ]; then + extra_config+=(--enable-libmudflap) + else + extra_config+=(--disable-libmudflap) + fi # When companion libraries are build static (eg !shared), # the libstdc++ is not pulled automatically, although it