gake: remove code related to flags