[git commit] buildsys: pregen depends on xlocale

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Apr 22 18:00:48 UTC 2015


commit: http://git.uclibc.org/uClibc/commit/?id=6173ee4f61b1c7a9c2c670952f9a18345e614c90
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

since ae9e3f46 sched.h pulls in stdlib.h (for malloc() and free()) and
thus also xlocale..

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 extra/locale/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extra/locale/Makefile.in b/extra/locale/Makefile.in
index 3834c5c..1a2305b 100644
--- a/extra/locale/Makefile.in
+++ b/extra/locale/Makefile.in
@@ -46,7 +46,7 @@ locale_OBJ := $(locale_OUT)/locale_data.o
 
 CFLAGS-locale_data.c := -D__WCHAR_ENABLED -I$(locale_OUT) -I$(locale_DIR)
 
-#headers-$(UCLIBC_HAS_LOCALE) += $(locale_headers-y)
+headers_dep += $(locale_headers-y)
 headers: $(locale_headers-y)
 
 libc-$(UCLIBC_HAS_LOCALE) += $(locale_OBJ)
@@ -68,7 +68,7 @@ $(locale_OUT)%.s:  $(locale_OUT)%.S FORCE ; $(compile.s)
 $(locale_OUT)%.dep:
 
 
-locale_headers: headers $(top_builddir)include/bits/uClibc_locale_data.h
+locale_headers: $(top_builddir)include/bits/uClibc_locale_data.h
 
 # make sure that the host system has locales (this check is ok for uClibc/glibc)
 # we do not know though which locales were really enabled for libc at build time


More information about the uClibc-cvs mailing list