3 ## Set up compiler caching. This makes a big difference to build times.
4 PATH
=/usr
/lib
/ccache
:$PATH; export PATH
5 CCACHE_DIR
=/build
/.ccache
; export CCACHE_DIR
7 CCACHE_COMPRESS
=t
; export CCACHE_COMPRESS
8 CCACHE_UMASK
=002; export CCACHE_UMASK
10 ## Hack the build options. `sbuild' tries to turn off testing for
11 ## cross-builds, which is exactly wrong. Turn them back on unless I really
13 old
=$DEB_BUILD_OPTIONS new
= force_nocheck
=nil
15 case $o in x-mdw-nocheck
) force_nocheck
=t
;; esac
20 x-mdw-nocheck
) include
=nil
;;
21 nocheck
) include
=$force_nocheck ;;
24 t
) new
=${new:+$new }$o ;;
27 DEB_BUILD_OPTIONS
=$new; export DEB_BUILD_OPTIONS
29 ## Preset the library search path to find the tools version of `fakeroot'.
30 for i
in /usr
/lib
/*/libfakeroot
; do
31 LD_LIBRARY_PATH
=${LD_LIBRARY_PATH+$LD_LIBRARY_PATH:}$i
33 export LD_LIBRARY_PATH