set -O3 automatic

Change-Id: Iba16871816c4c6d7e526e867d65f771dd9ec8545