The "$(and" operator requires GNU make 3.81.  On 3.80 it is a no-op.
Consequently, strange build problems (failure to compile madvise.c) pop
up when using make 3.80.

Since nobody else is reporting these types of problems, I'm going to
guess that I am one of the last remaining holdouts still running 3.80.
So we might as well officially require 3.81.

Signed-off-by: Kevin Cernekee <cerne...@gmail.com>
---
 Rules.mak |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Rules.mak b/Rules.mak
index 0aa6843..70fb851 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -17,8 +17,8 @@
 
 
 # check for proper make version
-ifneq ($(findstring x3.7,x$(MAKE_VERSION)),)
-$(error Your make is too old $(MAKE_VERSION). Go get at least 3.80)
+ifneq ($(filter 3.7% 3.80,$(MAKE_VERSION)),)
+$(error Your make is too old $(MAKE_VERSION). Go get at least 3.81)
 endif
 
 #-----------------------------------------------------------
-- 
1.7.4.2

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to