scripts/build/cc/gcc.sh
changeset 2043 efb1058baa31
parent 2042 d1f70bef45ba
child 2045 fdaa6c7f6dea
     1.1 --- a/scripts/build/cc/gcc.sh	Wed Jul 28 23:53:09 2010 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Wed Jul 28 23:55:10 2010 +0200
     1.3 @@ -195,6 +195,7 @@
     1.4          --prefix="${core_prefix_dir}"               \
     1.5          --with-local-prefix="${CT_SYSROOT_DIR}"     \
     1.6          --disable-multilib                          \
     1.7 +        --disable-libmudflap                        \
     1.8          ${CC_CORE_SYSROOT_ARG}                      \
     1.9          "${extra_config[@]}"                        \
    1.10          --disable-nls                               \
    1.11 @@ -340,6 +341,11 @@
    1.12      if [ -n "${CC_ENABLE_CXX_FLAGS}" ]; then
    1.13          extra_config+=("--enable-cxx-flags=${CC_ENABLE_CXX_FLAGS}")
    1.14      fi
    1.15 +    if [ "${CT_CC_GCC_LIBMUDFLAP}" = "y" ]; then
    1.16 +        extra_config+=(--enable-libmudflap)
    1.17 +    else
    1.18 +        extra_config+=(--disable-libmudflap)
    1.19 +    fi
    1.20  
    1.21      # When companion libraries are build static (eg !shared),
    1.22      # the libstdc++ is not pulled automatically, although it