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 | ff60073f64abdef8d00c25f0215a9a6d18a4f7d1 (patch) | |
| tree | f702419ca641f18c50d00a937c3a18d9f97cea33 | |
| parent | 24c8311976b6cfb4cf114d9741588452aa5cd616 (diff) | |
| download | upstream-ff60073f64abdef8d00c25f0215a9a6d18a4f7d1.tar.gz upstream-ff60073f64abdef8d00c25f0215a9a6d18a4f7d1.tar.bz2 upstream-ff60073f64abdef8d00c25f0215a9a6d18a4f7d1.zip | |
add cflags to uClibc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1770 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -rw-r--r-- | openwrt/toolchain/uClibc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/toolchain/uClibc/Makefile b/openwrt/toolchain/uClibc/Makefile index d40d8c6735f..e5f8d44f042 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 |
