changeset 1551:125462a318c6

The uClibc build has race conditions when run in parallel, add extra constraint to calm it down.
author Rob Landley <rob@landley.net>
date Tue, 09 Oct 2012 00:05:38 -0500
parents 866adfa9c63c
children c3b91b70cc42
files sources/patches/uClibc-headerdep.patch
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sources/patches/uClibc-headerdep.patch	Tue Oct 09 00:05:38 2012 -0500
@@ -0,0 +1,15 @@
+The uClibc build isn't quite happy with -j builds because it tries to use headers before they're all the way there.
+
+diff -ru uClibc/Makefile.in uClibc.bak/Makefile.in
+--- uClibc/Makefile.in	2012-05-15 02:20:09.000000000 -0500
++++ uClibc.bak/Makefile.in	2012-10-08 18:52:41.697432235 -0500
+@@ -195,7 +195,7 @@
+ 	HOSTCC="$(HOSTCC)" \
+ 	install
+ 
+-install: install_runtime install_dev
++install: install_headers install_runtime install_dev
+ 
+ 
+ RUNTIME_PREFIX_LIB_FROM_DEVEL_PREFIX_LIB=$(shell $(top_srcdir)extra/scripts/relative_path.sh $(DEVEL_PREFIX)$(MULTILIB_DIR) $(RUNTIME_PREFIX)$(MULTILIB_DIR))
+Only in uClibc.bak/: .Makefile.in.swp