caches will no longer be used, see NEWS for details. - Don't use "pathmunge" in the profile.d sh script to work around #548960. - Patch to avoid stripping the binary during build. - Add auto-symlink support for gcc44(-c++) and msp430-gcc. - Run test suite during build. - Update description.
17 lines
620 B
Bash
17 lines
620 B
Bash
# Use ccache by default. Users who don't want that can set the CCACHE_DISABLE
|
|
# environment variable in their personal profile.
|
|
|
|
if ! echo "$PATH" | grep -Eq '(^|:)@LIBDIR@/ccache($|:)' ; then
|
|
PATH="@LIBDIR@/ccache:$PATH"
|
|
fi
|
|
|
|
# If @CACHEDIR@ is writable, use a shared cache there. Users who don't
|
|
# want that even if they have that write permission can set the CCACHE_DIR
|
|
# and unset the CCACHE_UMASK environment variables in their personal profile.
|
|
|
|
if [ -z "$CCACHE_DIR" ] && [ -w @CACHEDIR@ ] && [ -d @CACHEDIR@ ] ; then
|
|
export CCACHE_DIR=@CACHEDIR@
|
|
export CCACHE_UMASK=002
|
|
unset CCACHE_HARDLINK
|
|
fi
|