summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.29/140-bits_sysnum_h.patch
blob: 595a22e2c01bbd1ab3eb8200c0547c23f1aaf8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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