X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=toolchain%2Fgcc%2Fcommon.mk;h=924ed90a63eb4b7cdc4e4cdd651d35a667038a92;hp=6e4c61214b1465e24931a7e9e8703129695d3728;hb=5d37a99a017d9f7bc819e6255ee319a29cda59a3;hpb=cf440ae7169f9095ea2089269d894a8a60de3161 diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 6e4c61214b..924ed90a63 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -180,6 +180,7 @@ endif GCC_MAKE:= \ export SHELL="$(BASH)"; \ $(MAKE) \ + CFLAGS="$(HOST_CFLAGS)" \ CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \ CXXFLAGS_FOR_TARGET="$(TARGET_CFLAGS)"