summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-05-22 10:14:44 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-05-22 10:14:44 +0200
commitc81e7b2014e284774eecf5e48e42aab31892cec1 (patch)
treedd4b6f25ed5d7962b4eb7b0e539f78562ac3d218
parent527ed7246a35fe8bab89c7c582084cd20661018a (diff)
downloadhaskell-c81e7b2014e284774eecf5e48e42aab31892cec1.tar.gz
Build system: temp solution for parallelisation bug (#11960)
-rw-r--r--libffi/ghc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 404cce989c..7c5bc9e1b3 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -111,7 +111,8 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
"$(TOUCH_CMD)" $@
$(libffi_STAMP_BUILD): $(libffi_STAMP_CONFIGURE) $(TOUCH_DEP)
- $(MAKE) -C libffi/build MAKEFLAGS=
+ # Use 'sync' as a temporary solution for #11960 (parallelisation bug).
+ sync; $(MAKE) -C libffi/build MAKEFLAGS=
"$(TOUCH_CMD)" $@
$(libffi_STAMP_INSTALL): $(libffi_STAMP_BUILD) $(TOUCH_DEP)