PART 2: imported optimization flags from ARCHIDROID

Change-Id: I82f45028ed4dcd94be93004d3eb7e355c167d214