From 50726fb3830a587cb2243587e98c9c57e19ebdc0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 24 Apr 2008 16:49:57 +0000 Subject: [PATCH] Fix make to compile on uclibc. --- packages/make/make.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/make/make.inc b/packages/make/make.inc index 31223cbbf1..8a43f40a24 100644 --- a/packages/make/make.inc +++ b/packages/make/make.inc @@ -9,3 +9,11 @@ SRC_URI = "${GNU_MIRROR}/make/make-${PV}.tar.bz2 \ file://SCCS.patch;patch=1" inherit autotools + +do_configure_prepend() { + if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then + export make_cv_sys_gnu_glob="no" + export GLOBINC=-I`pwd`/glob + export GLOBLIB=glob/libglob.a + fi +} -- 2.39.5