summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makerules b/Makerules
index d1ac04f2aa..6af4824604 100644
--- a/Makerules
+++ b/Makerules
@@ -12,9 +12,9 @@
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public
-# License along with the GNU C Library; see the file COPYING.LIB. If
-# not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-# Cambridge, MA 02139, USA.
+# License along with the GNU C Library; see the file COPYING.LIB. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
#
# Common rules for making the GNU C library. This file is included
@@ -26,9 +26,10 @@ This makefile requires GNU Make.
endif
REQUIRED_MAKE_VERSION = 3.74
+REAL_MAKE_VERSION = $(shell echo "$(MAKE_VERSION)" | sed 's/ .*//')
ifneq ($(REQUIRED_MAKE_VERSION), \
- $(firstword $(sort $(MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
+ $(firstword $(sort $(REAL_MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
Wrong GNU Make version. See above for the version needed.
endif