Forward FLAGS variables to the compiler/linker

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>