scripts/build/cc/gcc.sh
changeset 2122 eb837be50f8f
parent 2070 bcd33fce4db9
child 2123 ff2181adbd28
     1.1 --- a/scripts/build/cc/gcc.sh	Thu Aug 05 18:19:07 2010 +0200
     1.2 +++ b/scripts/build/cc/gcc.sh	Sun Sep 12 20:54:54 2010 +0200
     1.3 @@ -169,12 +169,14 @@
     1.4          extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}")
     1.5          extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}")
     1.6      fi
     1.7 -    if [ "${CT_CC_GCC_USE_PPL_CLOOG}" = "y" ]; then
     1.8 +    if [ "${CT_CC_GCC_USE_MPC}" = "y" ]; then
     1.9 +        extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}")
    1.10 +    fi
    1.11 +    if [ "${CT_CC_GCC_USE_GRAPHITE}" = "y" ]; then
    1.12          extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}")
    1.13          extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}")
    1.14      fi
    1.15 -    if [ "${CT_CC_GCC_USE_MPC_LIBELF}" = "y" ]; then
    1.16 -        extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}")
    1.17 +    if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
    1.18          extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}")
    1.19      fi
    1.20  
    1.21 @@ -365,12 +367,14 @@
    1.22          extra_config+=("--with-gmp=${CT_COMPLIBS_DIR}")
    1.23          extra_config+=("--with-mpfr=${CT_COMPLIBS_DIR}")
    1.24      fi
    1.25 -    if [ "${CT_CC_GCC_USE_PPL_CLOOG}" = "y" ]; then
    1.26 +    if [ "${CT_CC_GCC_USE_MPC}" = "y" ]; then
    1.27 +        extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}")
    1.28 +    fi
    1.29 +    if [ "${CT_CC_GCC_USE_GRAPHITE}" = "y" ]; then
    1.30          extra_config+=("--with-ppl=${CT_COMPLIBS_DIR}")
    1.31          extra_config+=("--with-cloog=${CT_COMPLIBS_DIR}")
    1.32      fi
    1.33 -    if [ "${CT_CC_GCC_USE_MPC_LIBELF}" = "y" ]; then
    1.34 -        extra_config+=("--with-mpc=${CT_COMPLIBS_DIR}")
    1.35 +    if [ "${CT_CC_GCC_USE_LTO}" = "y" ]; then
    1.36          extra_config+=("--with-libelf=${CT_COMPLIBS_DIR}")
    1.37      fi
    1.38