The Makefile would not consistently honour CFLAGS or LDFLAGS, and we were not correctly setting them in the OpenWrt/LEDE Makefile either. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>