From patchwork Mon Dec 12 20:54:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 705144 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tcw7p3xl5z9t2N for ; Tue, 13 Dec 2016 07:54:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b="LTejbZ56"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1C1AD2CC5D; Mon, 12 Dec 2016 20:54:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lwTjxVUo38lV; Mon, 12 Dec 2016 20:54:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 55A292C2ED; Mon, 12 Dec 2016 20:54:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1EC361C04A6 for ; Mon, 12 Dec 2016 20:54:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 17D6484103 for ; Mon, 12 Dec 2016 20:54:38 +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 GPd8Zk5ORC5U for ; Mon, 12 Dec 2016 20:54:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7B88284068 for ; Mon, 12 Dec 2016 20:54:35 +0000 (UTC) Received: from asgard (cpe-190-55-196-87.telecentro-reversos.com.ar [190.55.196.87] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.2/8.15.2) with ESMTPSA id uBCKsSGf018477 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Dec 2016 20:54:30 GMT DMARC-Filter: OpenDMARC Filter v1.3.1 www.zacarias.com.ar uBCKsSGf018477 Authentication-Results: zacarias.com.ar; dmarc=fail header.from=zacarias.com.ar Authentication-Results: zacarias.com.ar; spf=pass smtp.mailfrom=gustavo@zacarias.com.ar DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1481576072; bh=/Eng3h1iA+CvOk92dPGP0wU/MThNhKrdFOXupymzjW4=; h=From:To:Cc:Subject:Date; b=LTejbZ56ZGwZeL7qdstCZ4uZHVyqIwpb276KOAGPnDMYeLp/fjehi1bpCvaCuFNwa LIfqy3ktxVyMOQ9X2X9huv8o/kbjAOpQKBKhbdLaPuM5KRVulElZhVmGIn3Aaxm0Nf 3owvdlcgMHIAFHcyMM9C3Dj0kyZ6o6aFaUaLrGMc= Received: by asgard (sSMTP sendmail emulation); Mon, 12 Dec 2016 17:54:25 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Mon, 12 Dec 2016 17:54:25 -0300 Message-Id: <20161212205425.29423-1-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.10.2 X-Virus-Scanned: clamav-milter 0.99 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH] icu: fix build failure for musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" musl doesn't have xlocale.h, and stdtod_l is crippled, so disable it. See thread from OE: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128527.html Fixes: http://autobuild.buildroot.net/results/6ca/6caebf0f6c4adf66e67bedd0f04155413a9aa7bd/ Signed-off-by: Gustavo Zacarias --- package/icu/icu.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/icu/icu.mk b/package/icu/icu.mk index 12406d7..b9e42de 100644 --- a/package/icu/icu.mk +++ b/package/icu/icu.mk @@ -25,6 +25,11 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) ICU_CONF_ENV += LIBS="-latomic" endif +# strtod_l() is not supported by musl; also xlocale.h is missing +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +ICU_CONF_ENV += ac_cv_func_strtod_l=no +endif + HOST_ICU_CONF_OPTS = \ --disable-samples \ --disable-tests \