Browse Source

Improved ccache parse-config to check if we build with debug symbols

- enabling ccache while building a package with debug symbols is
  senseless and just a waste of disk space
early
Christian Wiese 18 years ago
parent
commit
7418d8cdc2
  1. 2
      develop/ccache/parse-config

2
develop/ccache/parse-config vendored

@ -19,6 +19,8 @@ elif [ -z "`type -p ccache`" ]; then
echo_warning 'Compiler cache disabled! (ccache not available)'
elif [ "$pkg" == gcc ]; then
echo_warning 'Compiler cache disabled! (package incompatible)'
elif [ "$SDECFG_DEBUG" == 1 ]; then
echo_warning 'Compiler cache disabled! (package build with debug symbols)'
else
unset ${!CCACHE_*}

Loading…
Cancel
Save