From patchwork Wed Aug 13 21:05:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 379752 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id BB7CD140097 for ; Thu, 14 Aug 2014 07:05:38 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C484589C2B; Wed, 13 Aug 2014 21:05:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rbw1rTStezIN; Wed, 13 Aug 2014 21:05:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A2A6789AD0; Wed, 13 Aug 2014 21:05:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7A32C1BF978 for ; Wed, 13 Aug 2014 21:05:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 74FBC8AC98 for ; Wed, 13 Aug 2014 21:05:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8OY+eiTQKCPk for ; Wed, 13 Aug 2014 21:05:30 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp6-g21.free.fr (smtp6-g21.free.fr [212.27.42.6]) by whitealder.osuosl.org (Postfix) with ESMTPS id 880EB8ABE3 for ; Wed, 13 Aug 2014 21:05:30 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp6-g21.free.fr (Postfix) with ESMTP id 898738225D; Wed, 13 Aug 2014 23:05:27 +0200 (CEST) From: Romain Naour To: buildroot@buildroot.net Date: Wed, 13 Aug 2014 23:05:23 +0200 Message-Id: <1407963923-27432-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 Cc: normen.bolling@teufel.de, thomas.de.schampheleire@gmail.com Subject: [Buildroot] [PATCH 1/1] package/localedef: don't use config.site when cross-compiling X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net On fedora 20 64bits host, the file /usr/share/config.site contains a fix for installing libraries into /lib/lib64 on 64bits systems that redefine libdir in the generated Makefile. This causes the bug 7262 reported Normen Bolling. Set CONFIG_SITE to "no" to not use config.site fixes: https://bugs.busybox.net/show_bug.cgi?id=7262 Reported-by: Normen Bolling Cc: Normen Bolling Cc: Thomas De Schampheleire Signed-off-by: Romain Naour Tested-by: Thomas De Schampheleire --- package/localedef/localedef.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk index 17ffd14..9a7118a 100644 --- a/package/localedef/localedef.mk +++ b/package/localedef/localedef.mk @@ -8,6 +8,10 @@ LOCALEDEF_VERSION = 2.14.1-r17443-ptx1 LOCALEDEF_SOURCE = localedef-eglibc-$(LOCALEDEF_VERSION).tar.bz2 LOCALEDEF_SITE = http://www.pengutronix.de/software/ptxdist/temporary-src +# Avoid loading /usr/share/config.site that can redefine libdir when +# the host arch is a 64bit system. +HOST_LOCALEDEF_CONF_ENV = CONFIG_SITE="no" + HOST_LOCALEDEF_CONF_OPT += \ --prefix=/usr \ --with-glibc=./eglibc