GIT_SILENT: add flags for compiling without slots/emit etc.

Authored by mlaurent on Apr 15 2020, 6:37 PM.