summaryrefslogtreecommitdiff
path: root/packages/make/make.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/make/make.inc')
-rw-r--r--packages/make/make.inc8
1 files changed, 8 insertions, 0 deletions
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
+}