Message ID | 20160703134750.7516-3-s.martin49@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> 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 3rjBLJ4PYxz9s9x for <incoming@patchwork.ozlabs.org>; Sun, 3 Jul 2016 23:48:08 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Wh8g7WdC; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1521E87DEF; Sun, 3 Jul 2016 13:48:06 +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 usNIG30jeaZ9; Sun, 3 Jul 2016 13:48:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A105A87BBF; Sun, 3 Jul 2016 13:48:04 +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 EDCE31C26FF for <buildroot@lists.busybox.net>; Sun, 3 Jul 2016 13:47:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A61A487861 for <buildroot@lists.busybox.net>; Sun, 3 Jul 2016 13:47:59 +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 JBpDorN6OyjA for <buildroot@lists.busybox.net>; Sun, 3 Jul 2016 13:47:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id EC924877A9 for <buildroot@buildroot.org>; Sun, 3 Jul 2016 13:47:58 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id r201so15925855wme.0 for <buildroot@buildroot.org>; Sun, 03 Jul 2016 06:47:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PsXn+kZz3xNmWZAPwlGP8aRLZhStGvPsgzq5JAJ1xxQ=; b=Wh8g7WdCFu282UDuOA85zkp6BNaYlm+xI5+dTOFwCEx/E99HZrZWXy0EgA3IMCld4x zqqkEFSpUlhRhz9UnE7IGQ+fi5B0dAWlqc3PlQfyjF6ml4dO/7R1bQIhLOqitQww+QZ5 9l2du800CTEFso6YekYq7SgfZ0PCRoRzVZOQZI3dDg0WYcSakVyg/BPUOhhg4c0qG+cw h3BoHJbOlb7xdY7nbXGLky2NCj/+NbXPa7fUdgH+H8PQDY2guN7k7Y2Bo9HUv07ay8L4 qB93pzdXvUerffa7ymrZv9cD2lqHVu1qPg/nD11hzDcM4/yJj428hU5sW97VKdfaMBa2 +qJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PsXn+kZz3xNmWZAPwlGP8aRLZhStGvPsgzq5JAJ1xxQ=; b=JvzfrWUbbcaGOjR3Sh3QihpNdkX/LAW+AK6uW0b2FNLTqpUXaT0amVxS6aT0DNbfQx 6sn2nZjlP3qPx8XV9sOiIaWvuqn0E8W69x2FiHP8/mnhPJgHNcDt0kabr2WcL9sCV+ZU D/GCsvNX9zz4/twJiests1DPL1JzmhIts8t6FiRZBlwlNkZSIHLH4Rh9drOBf3A8Ajgj PYZau19jYAfDplREutJohHWklxU4e5ktEo/puYJ7ryll2gAzEa/u+hp6NsUIR3Vnc1K+ XB8Y4mTiJzjUDXksvux0h/uhRCx0iVD1PcD5FfGs8UlO24+AHdvkDjP7VAH5uS1I3J4e /zbA== X-Gm-Message-State: ALyK8tKy9PzcQIsDt8Vxj8Clo7XqCN8TwHbPjdmtHkYExHu07Wn94QTZV8UYBO8YepmSIw== X-Received: by 10.28.104.214 with SMTP id d205mr6901653wmc.102.1467553677622; Sun, 03 Jul 2016 06:47:57 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb19:84c0:6b00:4a51:b7ff:fed2:2913]) by smtp.gmail.com with ESMTPSA id u4sm1200158wjz.4.2016.07.03.06.47.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jul 2016 06:47:56 -0700 (PDT) From: Samuel Martin <s.martin49@gmail.com> To: buildroot@buildroot.org Date: Sun, 3 Jul 2016 15:47:38 +0200 Message-Id: <20160703134750.7516-3-s.martin49@gmail.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160703134750.7516-1-s.martin49@gmail.com> References: <20160703134750.7516-1-s.martin49@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, Benjamin Kamath <bkamath@spaceflight.com> Subject: [Buildroot] [PATCH v3 02/14] package/gcc: complete the logic on libquadmath X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk index a796f47..efcaf9b 100644 --- a/package/gcc/gcc.mk +++ b/package/gcc/gcc.mk @@ -107,7 +107,9 @@ HOST_GCC_COMMON_CONF_OPTS += --disable-libitm endif # quadmath support requires wchar -ifeq ($(BR2_USE_WCHAR),) +ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy) +HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath +else HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath endif
libquadmath requires wchar. So, turn to positive logic and complete it to only enabling quadmath support when it is available. Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> --- changes v2->v3: - new patch --- package/gcc/gcc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)