Add some flags to build system.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>