From 9f91f4a7262db7d153461d9ad8d77bc26904b1b7 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 26 Dec 2012 12:21:15 +0100 Subject: [PATCH] findutils: fixed cross-compiling after removing 'architecture/share/config.cache' Note: Before the needed config.cache variables have been set through the settings in 'architecture/share/config.cache'. --- base/findutils/findutils.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base/findutils/findutils.conf b/base/findutils/findutils.conf index e8d67b5d4..e49e79c19 100644 --- a/base/findutils/findutils.conf +++ b/base/findutils/findutils.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../findutils/findutils.conf -# Copyright (C) 2008 The OpenSDE Project +# Copyright (C) 2008 - 2012 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -30,6 +30,11 @@ if ! atstage toolchain; then hook_add postmake 3 "fu_pm" fi +if atstage cross; then + # checking whether wcwidth works reasonably in UTF-8 locales + var_append configcache ' ' "gl_cv_func_wcwidth_works=yes" +fi + export CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"