add cflags to uClibc compile
SVN-Revision: 1770
This commit is contained in:
parent
60d1628110
commit
138fee69d1
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,7 @@ endif
|
||||||
DEVEL_PREFIX=/usr/ \
|
DEVEL_PREFIX=/usr/ \
|
||||||
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
|
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
|
CPU_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
pregen install_dev;
|
pregen install_dev;
|
||||||
touch $(UCLIBC_DIR)/.configured
|
touch $(UCLIBC_DIR)/.configured
|
||||||
|
|
||||||
|
@ -76,6 +77,7 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
|
||||||
DEVEL_PREFIX=/ \
|
DEVEL_PREFIX=/ \
|
||||||
RUNTIME_PREFIX=/ \
|
RUNTIME_PREFIX=/ \
|
||||||
HOSTCC="$(HOSTCC)" \
|
HOSTCC="$(HOSTCC)" \
|
||||||
|
CPU_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
all
|
all
|
||||||
touch -c $(UCLIBC_DIR)/lib/libc.a
|
touch -c $(UCLIBC_DIR)/lib/libc.a
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue