build: Fix cflags for QC targets

Change-Id: I2281bec3afb4d80e80845718d880dc24ef7baf32
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0