1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/uClibc/0.9.29/140-bits_sysnum_h.patch Sun May 08 11:02:18 2011 +0200
1.3 @@ -0,0 +1,33 @@
1.4 +YEM-20070519:
1.5 +bits/sysnum.h needs a cross compiler to be built. Fortunately, this
1.6 +header is not needed to build gcc. Move generation of this header.
1.7 +
1.8 +Index: uClibc/Makefile.in
1.9 +===================================================================
1.10 +--- uClibc/Makefile.in (revision 18651)
1.11 ++++ uClibc/Makefile.in (working copy)
1.12 +@@ -91,6 +91,11 @@
1.13 + $(LN) -fs $$i .; \
1.14 + done; \
1.15 + fi
1.16 ++ifeq ($(UCLIBC_HAS_LOCALE),y)
1.17 ++ $(MAKE) locale_headers
1.18 ++endif
1.19 ++
1.20 ++pregen: headers
1.21 + $(Q)\
1.22 + set -e; \
1.23 + cd $(top_builddir); \
1.24 +@@ -102,12 +107,7 @@
1.25 + else \
1.26 + mv -f $$tmp include/bits/sysnum.h; \
1.27 + fi
1.28 +-ifeq ($(UCLIBC_HAS_LOCALE),y)
1.29 +- $(MAKE) locale_headers
1.30 +-endif
1.31 +
1.32 +-pregen: headers
1.33 +-
1.34 + install: install_runtime install_dev
1.35 +
1.36 +