summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.29/140-bits_sysnum_h.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-28 21:32:33 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-07-28 21:32:33 (GMT)
commit6317df47791e1e35b78dc69a636445dbc22d5c21 (patch)
tree5134392c237e9aed62c1b6f7d5620340db781262 /patches/uClibc/0.9.29/140-bits_sysnum_h.patch
parent3bf3f54ed10aec366066d796186eea63c4169ad2 (diff)
Fourth step at renaming patches: renumber all patches with a 10-step.
Diffstat (limited to 'patches/uClibc/0.9.29/140-bits_sysnum_h.patch')
-rw-r--r--patches/uClibc/0.9.29/140-bits_sysnum_h.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.29/140-bits_sysnum_h.patch b/patches/uClibc/0.9.29/140-bits_sysnum_h.patch
new file mode 100644
index 0000000..595a22e
--- /dev/null
+++ b/patches/uClibc/0.9.29/140-bits_sysnum_h.patch
@@ -0,0 +1,33 @@
+YEM-20070519:
+bits/sysnum.h needs a cross compiler to be built. Fortunately, this
+header is not needed to build gcc. Move generation of this header.
+
+Index: uClibc/Makefile.in
+===================================================================
+--- uClibc/Makefile.in (revision 18651)
++++ uClibc/Makefile.in (working copy)
+@@ -91,6 +91,11 @@
+ $(LN) -fs $$i .; \
+ done; \
+ fi
++ifeq ($(UCLIBC_HAS_LOCALE),y)
++ $(MAKE) locale_headers
++endif
++
++pregen: headers
+ $(Q)\
+ set -e; \
+ cd $(top_builddir); \
+@@ -102,12 +107,7 @@
+ else \
+ mv -f $$tmp include/bits/sysnum.h; \
+ fi
+-ifeq ($(UCLIBC_HAS_LOCALE),y)
+- $(MAKE) locale_headers
+-endif
+
+-pregen: headers
+-
+ install: install_runtime install_dev
+
+