Icinga2 is a beast written in c++ and compiling is just like getting coffee – but only if you make-clean-make all the time, which isn’t really needed during active development. Possible simple solution for that – ccache.

# apt-get install ccache
$ export CC='ccache gcc'
$ export CXX='ccache g++'

$ vim ~/.bashrc
export CC='ccache gcc'
export CXX='ccache g++'
$ . ~/.bashrc
%d bloggers like this: