From patchwork Wed Sep 21 23:31:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 673095 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sfbWD00nWz9sCg for ; Thu, 22 Sep 2016 09:32:07 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b=be/2yr/j; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 93AB9878EF; Wed, 21 Sep 2016 23:32:05 +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 rCryCWU7Hk8W; Wed, 21 Sep 2016 23:32:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D8C9F8790B; Wed, 21 Sep 2016 23:32:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id AEB711C1EB7 for ; Wed, 21 Sep 2016 23:32:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AA0288AAA5 for ; Wed, 21 Sep 2016 23:32:03 +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 Qacc4MJs1coW for ; Wed, 21 Sep 2016 23:32:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7433A8AA9D for ; Wed, 21 Sep 2016 23:32:02 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3sfbVy2Qc9z101G for ; Thu, 22 Sep 2016 01:31:48 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1474500707; x=1475105508; bh=C+ChzqO1muXMKjrHg9Yn9r4T/BVAfJT4KuG zjn8NQdI=; b=be/2yr/jqpzBLaZfwbwwyO+DRd/9p9HXvre8czeoDSkkxyi4j+x 8CE/h+MHr674dOxEDGVa8YF2BR7X6Cvbmx+mv2XtO6mIlQRKcV5tQZO+qWDU6yc5 QI2ZM9Dp6IsERucwv4NDlTbEjb+UZDioIrr43HFtG1Z2H3IowhbjRk7H7OQ14koJ SJ+/NPtYcGH9p5jVXY3wV+z3AZlA5bSiDsiO2CUXGykHVgYezG0RpIvKUHjrmVZ8 klETLYV+Hi5nwpZQ9rUFkuAr2O/apCYRrOjd+uurQpXI9UI1LWAod9ClV4j+iyYm 1u1l+FrS7zElX2cBe4ZPUu5nKZOd7gktkCA== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id AUBBzO72uYL9; Thu, 22 Sep 2016 01:31:47 +0200 (CEST) Received: from nzxt.fritz.box (x2f76d87.dyn.telefonica.de [2.247.109.135]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 22 Sep 2016 01:31:47 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 22 Sep 2016 01:31:42 +0200 Message-Id: <20160921233143.28149-2-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160921233143.28149-1-joerg.krause@embedded.rocks> References: <20160921233143.28149-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/3] package/ola: disable fatal warnings for host variant 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" By default the build system of OLA passes '-Werror' to GCC. The aborts compilation with GCC 6: ''' error: ‘template class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations] ''' The target variant already passes the option "-disable-fatal-warnings" to the build system to disable '-Werror'. Do it for the host variant to to fix build with host GCC 6. Signed-off-by: Jörg Krause --- package/ola/ola.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/ola/ola.mk b/package/ola/ola.mk index 6f62a17..75ab25e 100644 --- a/package/ola/ola.mk +++ b/package/ola/ola.mk @@ -40,7 +40,8 @@ HOST_OLA_CONF_OPTS = \ --disable-examples \ --disable-unittests \ --disable-doxygen-html \ - --disable-doxygen-doc + --disable-doxygen-doc \ + --disable-fatal-warnings # On the host side, we only need ola_protoc_plugin, so build and install this # only.