gcc: build with HOST_CFLAGS
[openwrt/openwrt.git] / toolchain / gcc / common.mk
index 6e4c612..924ed90 100644 (file)
@@ -180,6 +180,7 @@ endif
 GCC_MAKE:= \
        export SHELL="$(BASH)"; \
        $(MAKE) \
+               CFLAGS="$(HOST_CFLAGS)" \
                CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \
                CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS)"