Output most build flags to log

Change-Id: I28f62236c5d5fa882cb5c05973ebf84da006b9ff