Blob Blame History Raw
From d26ee3fa74dc1c3ddcd7c490b098287d2a400629 Mon Sep 17 00:00:00 2001
From: Yann Collet <cyan@fb.com>
Date: Thu, 15 Dec 2016 22:13:36 +0100
Subject: [PATCH] fix `make` concurrency build (#277)

(cherry picked from commit 913b98fd6fe814ee4c719a90a0642497c9d3d0dc)
---
 Makefile | 4 +++-
 NEWS     | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 48e6752..c77f697 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,9 @@ endif
 
 .PHONY: default all lib lz4 clean test versionsTest examples
 
-default: lib lz4-release
+default:
+	@$(MAKE) -C $(LZ4DIR)
+	@$(MAKE) -C $(PRGDIR)
 
 all:
 	@$(MAKE) -C $(LZ4DIR) $@
diff --git a/NEWS b/NEWS
index f6874ce..d41c91f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
 v1.7.4.2
 fix : Makefile : release build compatible with PIE and customized compilation directives provided through environment variables (#274, reported by Antoine Martin)
+build : Makefile : fix concurrency lib+exe build (#277)
 
 v1.7.4
 Improved : much better speed in -mx32 mode
-- 
2.11.0