Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.functions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2158 by niro, Wed Aug 14 07:46:36 2013 UTC revision 2159 by niro, Wed Aug 14 07:55:29 2013 UTC
# Line 664  setup_distcc_environment() Line 664  setup_distcc_environment()
664   fi   fi
665  }  }
666    
667    setup_icecc_environment()
668    {
669     if [ -x /usr/bin/icecc ]
670     then
671     echo -e "${COLBLUE}---${COLGREEN} Using IceCC for compilation ...${COLDEFAULT}"
672     export PATH=/usr/$(mlibdir)/icecc/bin:${PATH} || die "icecc: could not export new $PATH"
673     fi
674    }
675    
676  setup_ccache_environment()  setup_ccache_environment()
677  {  {
678   if [ -x /usr/bin/ccache ]   if [ -x /usr/bin/ccache ]
679   then   then
680     mqueryfeature "icecream" && export CCACHE_PREFIX=icecc
681    
682   echo -e "${COLBLUE}---${COLGREEN} Using CCache for compilation ...${COLDEFAULT}"   echo -e "${COLBLUE}---${COLGREEN} Using CCache for compilation ...${COLDEFAULT}"
683   export PATH=/usr/$(mlibdir)/ccache/bin:${PATH} || die "ccache: could not export new $PATH"   export PATH=/usr/$(mlibdir)/ccache/bin:${PATH} || die "ccache: could not export new $PATH"
684   fi   fi

Legend:
Removed from v.2158  
changed lines
  Added in v.2159