From patchwork Wed Oct 2 04:26:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1170463 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46jjlD6bx3z9sPl for ; Wed, 2 Oct 2019 14:26:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E065830F8; Wed, 2 Oct 2019 04:26:45 +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 fefMNY4fn4Cm; Wed, 2 Oct 2019 04:26:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3189184D06; Wed, 2 Oct 2019 04:26:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 79F001BF4E5 for ; Wed, 2 Oct 2019 04:26:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 740AF21526 for ; Wed, 2 Oct 2019 04:26:39 +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 HbDgWQwp1U1b for ; Wed, 2 Oct 2019 04:26:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) by silver.osuosl.org (Postfix) with ESMTPS id AF5B220463 for ; Wed, 2 Oct 2019 04:26:35 +0000 (UTC) Received: from fwd02.aul.t-online.de (fwd02.aul.t-online.de [172.20.26.148]) by mailout07.t-online.de (Postfix) with SMTP id 6FAE042000A3; Wed, 2 Oct 2019 06:26:33 +0200 (CEST) Received: from fli4l.lan.fli4l (XNBAJGZp8hincgI-x7GNnVgvuF08ENfnVAVRPtkaV-p1iW2+HkLmojcN5fkkpZzwvM@[91.58.11.187]) by fwd02.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1iFWDc-1G1DKS0; Wed, 2 Oct 2019 06:26:28 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:54460) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1iFWDb-0002ck-8G; Wed, 02 Oct 2019 06:26:27 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 2 Oct 2019 06:26:25 +0200 Message-Id: <20191002042626.26676-3-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191002042626.26676-1-bernd.kuhls@t-online.de> References: <20191002042626.26676-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: XNBAJGZp8hincgI-x7GNnVgvuF08ENfnVAVRPtkaV-p1iW2+HkLmojcN5fkkpZzwvM X-TOI-MSGID: bc9f46f7-e640-42a4-860e-dc2e95261da0 Subject: [Buildroot] [PATCH 3/4] package/libcurl: fix static build on ARM Cortex-M X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For details see http://lists.busybox.net/pipermail/buildroot/2019-June/253203.html Fixes: http://autobuild.buildroot.net/results/aa0/aa0a9348afa068fc2a0ea54a84694b0ecc45e0b0/ Signed-off-by: Bernd Kuhls --- package/libcurl/libcurl.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index 8384210d48..e85d159fa8 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -30,6 +30,12 @@ else LIBCURL_CONF_OPTS += --disable-threaded-resolver endif +# workaround for elf2flt bug +# https://github.com/uclinux-dev/elf2flt/issues/11 +ifeq ($(BR2_ARM_CPU_ARMV7M)$(BR2_STATIC_LIBS),yy) +LIBCURL_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" +endif + ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y) LIBCURL_CONF_OPTS += --enable-verbose else