X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/29313d8ecfcd32a92d5e3501baf3036c863ff91a..d002d70af78bd86328f64c9078799808de84fd6e:/openwrt/toolchain/uClibc/Makefile diff --git a/openwrt/toolchain/uClibc/Makefile b/openwrt/toolchain/uClibc/Makefile index d40d8c673..e5f8d44f0 100644 --- a/openwrt/toolchain/uClibc/Makefile +++ b/openwrt/toolchain/uClibc/Makefile @@ -67,6 +67,7 @@ endif DEVEL_PREFIX=/usr/ \ RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \ HOSTCC="$(HOSTCC)" \ + CPU_CFLAGS="$(TARGET_CFLAGS)" \ pregen install_dev; touch $(UCLIBC_DIR)/.configured @@ -76,6 +77,7 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET) DEVEL_PREFIX=/ \ RUNTIME_PREFIX=/ \ HOSTCC="$(HOSTCC)" \ + CPU_CFLAGS="$(TARGET_CFLAGS)" \ all touch -c $(UCLIBC_DIR)/lib/libc.a