use better compile flag

Change-Id: I81bc2cc661d3a7e322beba102e35ee4ac9aab816