clang: Fix optional compiler flags

Change-Id: I9e0c5d59c7a1fc7d8a418232c882b97eec499f0a
Signed-off-by: zwliew <zhaoweiliew@gmail.com>