From patchwork Fri Apr 3 19:53:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Bilas X-Patchwork-Id: 1266201 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=grinn-global.com Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48v9bL5kbmz9sPF for ; Sat, 4 Apr 2020 06:53:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B56E88921A; Fri, 3 Apr 2020 19:53:16 +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 IWgKyNqccmVh; Fri, 3 Apr 2020 19:53:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2F962893F7; Fri, 3 Apr 2020 19:53:16 +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 5AD831BF3CD for ; Fri, 3 Apr 2020 19:53:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 55AD7871E4 for ; Fri, 3 Apr 2020 19:53:14 +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 p5nW43_seZB3 for ; Fri, 3 Apr 2020 19:53:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.megiteam.pl (smtp.megiteam.pl [31.186.83.105]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DD41B871D8 for ; Fri, 3 Apr 2020 19:53:12 +0000 (UTC) Received: from host-81-161-192-57.oxylion.net.pl ([81.161.192.57] helo=bartekk-pc.lan) by smtp.megiteam.pl with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86.2_XX) (envelope-from ) id 1jKSNI-0000ag-W9; Fri, 03 Apr 2020 21:53:09 +0200 From: Bartosz Bilas To: buildroot@buildroot.org Date: Fri, 3 Apr 2020 21:53:05 +0200 Message-Id: <20200403195305.33887-2-b.bilas@grinn-global.com> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200403195305.33887-1-b.bilas@grinn-global.com> References: <20200403195305.33887-1-b.bilas@grinn-global.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/xerces: force gcc at least 4.9 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: , Cc: Bartosz Bilas Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Xerces uses char16_t which was introduced in c++11. Signed-off-by: Bartosz Bilas --- package/xerces/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/xerces/Config.in b/package/xerces/Config.in index 2edc4346b5..06b33674dc 100644 --- a/package/xerces/Config.in +++ b/package/xerces/Config.in @@ -1,10 +1,14 @@ config BR2_PACKAGE_XERCES bool "xerces-c++" depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # c++11 + depends on BR2_HOST_GCC_AT_LEAST_4_9 # c++11 help Xerces-C++ is a validating XML parser written in portable C++. http://xerces.apache.org/xerces-c/ -comment "xerces-c++ needs a toolchain w/ C++, wchar" - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) +comment "xerces-c++ needs a toolchain w/ C++, wchar, gcc >= 4.9, host gcc >= 4.9" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR && \ + BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && \ + BR2_HOST_GCC_AT_LEAST_4_9 )