add cflags to uClibc compile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Aug 2005 13:30:10 +0000 (13:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Aug 2005 13:30:10 +0000 (13:30 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1770 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/toolchain/uClibc/Makefile

index d40d8c6..e5f8d44 100644 (file)
@@ -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
 
This page took 0.02386 seconds and 4 git commands to generate.