diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-08-27 13:30:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-08-27 13:30:10 +0000 |
commit | 95689ed7ac21e3a705bae12a0884a984db238d95 (patch) | |
tree | fcb1532f48f9710535a8b618995d990acbf0d36c /toolchain | |
parent | 08d4b40d823af1caba093bd1ff60d299a7c0054d (diff) | |
download | master-187ad058-95689ed7ac21e3a705bae12a0884a984db238d95.tar.gz master-187ad058-95689ed7ac21e3a705bae12a0884a984db238d95.tar.bz2 master-187ad058-95689ed7ac21e3a705bae12a0884a984db238d95.zip |
add cflags to uClibc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1770 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/uClibc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index d40d8c6735..e5f8d44f04 100644 --- a/toolchain/uClibc/Makefile +++ b/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 |