Add cflags variable and use it.

Move debug flag over there.

Signed-off-by: Thiago Farina <tfarina@chromium.org>