From patchwork Sat Jan 23 13:38:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 572107 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id C712A1402D8 for ; Sun, 24 Jan 2016 00:38:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5900C8C4C4; Sat, 23 Jan 2016 13:38:30 +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 bC+lFe38FwP7; Sat, 23 Jan 2016 13:38:28 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 09BAE8A8E0; Sat, 23 Jan 2016 13:38:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 201591C105E for ; Sat, 23 Jan 2016 13:38:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1C71DA586F for ; Sat, 23 Jan 2016 13:38:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H1ceGmYw4fR6 for ; Sat, 23 Jan 2016 13:38:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 300AAA5863 for ; Sat, 23 Jan 2016 13:38:27 +0000 (UTC) Received: from fwd27.aul.t-online.de (fwd27.aul.t-online.de [172.20.26.132]) by mailout05.t-online.de (Postfix) with SMTP id ED492600957 for ; Sat, 23 Jan 2016 14:38:24 +0100 (CET) Received: from fli4l.lan.fli4l (VUyvRGZfgh5SJbPH4XcVZ04CgC+3vHovgE1H9fl7JAS8qQoicpo0e5f6ibIUH+SZPu@[84.191.217.6]) by fwd27.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1aMyOU-3AKdyy0; Sat, 23 Jan 2016 14:38:22 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:43448 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.86) (envelope-from ) id 1aMyOT-0008Hs-9K; Sat, 23 Jan 2016 14:38:21 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 23 Jan 2016 14:38:20 +0100 Message-Id: <1453556300-32760-1-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.7.0.rc3 X-ID: VUyvRGZfgh5SJbPH4XcVZ04CgC+3vHovgE1H9fl7JAS8qQoicpo0e5f6ibIUH+SZPu X-TOI-MSGID: 18514f99-d109-4652-bb06-a263d4b7cc5a Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 1/1] Fix musl build 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" Patch ported from http://patchwork.openembedded.org/patch/112715/ Fixes http://autobuild.buildroot.net/results/1c5/1c518627ae0d02bc6affa2efdf23fba2c7ca0d74/ Signed-off-by: Bernd Kuhls --- package/libgpgme/libgpgme.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/libgpgme/libgpgme.mk b/package/libgpgme/libgpgme.mk index 1868099..b0a3343 100644 --- a/package/libgpgme/libgpgme.mk +++ b/package/libgpgme/libgpgme.mk @@ -21,6 +21,9 @@ LIBGPGME_CONF_OPTS = --with-gpg=/usr/bin/gpg \ --disable-g13-test \ --disable-gpg-test +# needed for musl +LIBGPGME_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -D__error_t_defined" + # Handle argp-standalone or it errors out during build ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBGPGME_CONF_ENV += LIBS="-largp"