From patchwork Mon Oct 24 05:55:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne via libcamera-devel X-Patchwork-Id: 17683 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 7DC2FBD16B for ; Mon, 24 Oct 2022 05:56:05 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 18E5162F14; Mon, 24 Oct 2022 07:56:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1666590965; bh=mvpp/AXcH55Ihc+1iO4nWkuuHc7yyAOzRS0UYe/7Ntg=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=uiysZaaJFD/RqoaKrjiXBD70xEHP9SJDTsNyD/Dp7ndD8eboZCiK9rD2Ivfly9XzV vj3wGWok6HYSEsCqF7Z0EFtwdGVqgW3tmwAM0jqCvuiPzrQYuSGpNOWzkaJknBoesV 0v5IU0Xv3A879plqGRK/bVXAXOQVCsqHO7+P6xRevYf8lIZAnSX7ed4W6gllL0xEb2 oXhNEaLj5Or3q00mzFvJFohZDFIRQOrLqAeWZMIs6dmPqL+K5ZQN8c2QZHjR1KYxbc c5tOsTned8XItgqWISvU3/v6hYXC5Bo7uc4vfHjIMCR5y9+9xolENSfUGvg9e5XwI5 tGJFiA6Jmbj6w== Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 76D3862EF6 for ; Mon, 24 Oct 2022 07:56:00 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=rothemail-net.20210112.gappssmtp.com header.i=@rothemail-net.20210112.gappssmtp.com header.b="kFRE5TUD"; dkim-atps=neutral Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-13b6336a1acso5277829fac.3 for ; Sun, 23 Oct 2022 22:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothemail-net.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=bFCDFBN6Gu/UE2X3RBv2GIgJlscealx/uenvhEnHRRg=; b=kFRE5TUDKLUYYct2WCwYa+rOP5d7zVb7hh04RSf1g6amQUZXbbEw4dHaQO+2aPLYO9 GTvBenbLA6cnGgNgdE3D/xAsrCQW6+uXuI8/Hx9jDlaTqkcCEmElM8GqT0Sc5bXvsa0g CnLLyiYWL11ZXMYiubiaWFQn2LQsXc+/FbcntzOR6SoFKbbPJVQ9OFMuoFU4lvXGCCoS Jr28pDEIytjJnMvxfpB+EUYhuyD9YmbIO6VKIPH1cT0WVBawsYEsBlgGNviP5/dFSTmM aY0m3Guhzjfs8aWR57q2mBHa7iWcbny20mK9Fqgsd46v45SvtvTS6QAvmMkkbg0pC3E/ 02XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bFCDFBN6Gu/UE2X3RBv2GIgJlscealx/uenvhEnHRRg=; b=VPjQHwu1K92XWLyds6bRlzBwh7fib5wwxrRvr11wMC/fFwkL2C1fAw//pE1lalrzAO NhkbgYv1h9XXnvu6T6tAQdHpKrdZtmD4czpvaxzngKB79So7nNMSfZ/Xe05L7LiR4NQR fnSqXC8u8q0l7qPjbG/kbrHVaXP/bPAXKPo94FyDvYu1cAU8GTgLG1QOAK2gp6HDaXRX AV4+nGCzjq9UAtmkQoSYeJa+opiobJR+dbGU12wtnGNtyYTyYZtjICP6DXAqzjKhPu9Y NS+9yu84cXIbjNduoIYKYeVlO3WyRCvQFgOOjCEmCX9N6jBgqfIC4Xr7iNmCdm3GmPmq zoNQ== X-Gm-Message-State: ACrzQf3wicIU5Lo3FdgP2ypFXksAcUDGUyhmJEynuLI4/J0q6G4vNovW ww7BGSKxvuImlE5TfaXkxNRbsJNY3LYjw35/ X-Google-Smtp-Source: AMsMyM6RXbC4ki2SgoM9C4K+U4UlNT/NZSm60XmDS/9A5lSxRdIiiI4MRq/G71ZO7110MdIG67WW7w== X-Received: by 2002:a05:6870:c147:b0:136:90c4:ee84 with SMTP id g7-20020a056870c14700b0013690c4ee84mr19875058oad.295.1666590958766; Sun, 23 Oct 2022 22:55:58 -0700 (PDT) Received: from nroth-pc.attlocal.net ([2600:1700:20:20c0:7bc3:aed3:676f:10a0]) by smtp.gmail.com with ESMTPSA id x15-20020a9d628f000000b0066193df8edasm3980278otk.34.2022.10.23.22.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Oct 2022 22:55:58 -0700 (PDT) To: libcamera-devel@lists.libcamera.org Date: Mon, 24 Oct 2022 00:55:40 -0500 Message-Id: <20221024055543.116040-9-nicholas@rothemail.net> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221024055543.116040-1-nicholas@rothemail.net> References: <20221024055543.116040-1-nicholas@rothemail.net> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 08/11] Removes code to force using libc++ instead of libstdc++ if available. X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Nicholas Roth via libcamera-devel From: Nicolas Dufresne via libcamera-devel Reply-To: libcamera-devel@lists.libcamera.org Cc: nicholas@rothemail.net Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nicholas Roth This breaks during cross-compilation when this is not true for the meson-cross cross-compiler target. Error: clang++: error: argument unused during compilation: '-stdlib=libc++' [-Werror,-Wunused-command-line-argument] --- meson.build | 8 -------- 1 file changed, 8 deletions(-) diff --git a/meson.build b/meson.build index 56910698..7d0588d2 100644 --- a/meson.build +++ b/meson.build @@ -95,14 +95,6 @@ if cc.get_id() == 'clang' ] endif - # Use libc++ by default if available instead of libstdc++ when compiling - # with clang. - if cc.find_library('libc++', required: false).found() - cpp_arguments += [ - '-stdlib=libc++', - ] - endif - cpp_arguments += [ '-Wextra-semi', '-Wthread-safety',