From patchwork Wed Oct 2 04:26:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1170464 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 46jjlL3QXbz9sPh for ; Wed, 2 Oct 2019 14:26:54 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9B41E86BA4; Wed, 2 Oct 2019 04:26:52 +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 SC6B6mLkirYQ; Wed, 2 Oct 2019 04:26:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0C63D83791; Wed, 2 Oct 2019 04:26:44 +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 316081BF94B for ; Wed, 2 Oct 2019 04:26:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2A75B20458 for ; Wed, 2 Oct 2019 04:26: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 SR0k8iQDJKCW for ; Wed, 2 Oct 2019 04:26:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by silver.osuosl.org (Postfix) with ESMTPS id B2BFF1FEDF for ; Wed, 2 Oct 2019 04:26:37 +0000 (UTC) Received: from fwd28.aul.t-online.de (fwd28.aul.t-online.de [172.20.26.133]) by mailout10.t-online.de (Postfix) with SMTP id AF95441BC39C; Wed, 2 Oct 2019 06:26:35 +0200 (CEST) Received: from fli4l.lan.fli4l (Xphkw4Zd8h4q5O1KfkvLGQ9SvhFUr7V8-hS+gf5bpN9CWVM2qDBJKxCZQjlqMziQgT@[91.58.11.187]) by fwd28.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1iFWDc-4AhRia0; 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-Kw; Wed, 02 Oct 2019 06:26:27 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 2 Oct 2019 06:26:26 +0200 Message-Id: <20191002042626.26676-4-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: Xphkw4Zd8h4q5O1KfkvLGQ9SvhFUr7V8-hS+gf5bpN9CWVM2qDBJKxCZQjlqMziQgT X-TOI-MSGID: 25a50d5e-7093-440d-b613-d9f47c4d6d19 Subject: [Buildroot] [PATCH 4/4] package/dvblast: 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/155/1555cf00b9e8cc942b955a2f2f5edf0a2072eff2/ Signed-off-by: Bernd Kuhls --- package/dvblast/dvblast.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/dvblast/dvblast.mk b/package/dvblast/dvblast.mk index 3571ff3c74..5dc43e276e 100644 --- a/package/dvblast/dvblast.mk +++ b/package/dvblast/dvblast.mk @@ -13,6 +13,12 @@ DVBLAST_DEPENDENCIES = bitstream libev DVBLAST_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) +# workaround for elf2flt bug +# https://github.com/uclinux-dev/elf2flt/issues/11 +ifeq ($(BR2_ARM_CPU_ARMV7M)$(BR2_STATIC_LIBS),yy) +DVBLAST_MAKE_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" +endif + ifeq ($(BR2_PACKAGE_LIBICONV),y) DVBLAST_DEPENDENCIES += libiconv DVBLAST_MAKE_ENV += LDLIBS=-liconv