From patchwork Mon Jun 26 15:11:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106346 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp138674qge; Mon, 26 Jun 2017 08:13:03 -0700 (PDT) X-Received: by 10.84.178.129 with SMTP id z1mr692778plb.260.1498489983106; Mon, 26 Jun 2017 08:13:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498489983; cv=none; d=google.com; s=arc-20160816; b=B0LhJFEHjlzt2F+YRXChpLY0lLN2oMqqY1ozpc03TEOEh4xOIF4SmgeTj4QAIjyk80 bk4jD2eIADF8wxUzZaKUOvKSMDVBR1+3KLo9sGaMmd+p7Iy12rsCvxjsY2I8Go3wnppv 8taaLubv9ZR4gtXp7dLFhIRq/pG4DmoisKBif9h3qyrQmYPIxelLBOvESoseqRY9XJW9 /aysHoygngs3yQQNSMFvs9vFu+sMdW0vUxWUgoTwTbloCvHzCDtTO64yN5gcnAMNhQn4 1vmdStmd1mRix//nbGbWoIvUh66KJ786sZyS2LyHnY+QvsKdS9FUZ2ca2kFbcdvWv506 dNVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=U2WHMs6+NZNEyatht/gWxhwJAXJeeKDzSlk+szC0AGg=; b=0ZkVJ39zJjuAkzmCWsO3PYvdcQI3mq0MbnndEQwhFiq3EQGO2sqmWTOdAwgvk+2i1y fBuyspk7dPcaI7XfmB1ycNWoYf7IwGAdaSLa0itOyPD/4WzrgZAXkVktA4h19bC3dDU0 yfNmzwOsEiFw+59qSCSPsX5fowXDJwRp06vXbSMldtx1Vt5WodqFofcLytFiwMvir3b6 3i3r3DTk97S7gK17v3PBa2HSEkm+HqsTd4KBefNm+H/BjxdhmM1P1MNOs8bsRmIvmEeu QCkoXC1tmZmoS81BLIx3InH5JsGfhUulIqYA17v4WN3hGTCTlBCCZSA5Pj3lOe3CFbJb EY5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=ho8YQmZH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g1si209108pgc.11.2017.06.26.08.13.02; Mon, 26 Jun 2017 08:13:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.b=ho8YQmZH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 487BB78062; Mon, 26 Jun 2017 15:12:16 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mail.openembedded.org (Postfix) with ESMTP id 018C777F38 for ; Mon, 26 Jun 2017 15:11:33 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id i127so474237wma.0 for ; Mon, 26 Jun 2017 08:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=+3vnObnOv3B2rhDlPy9iAzyaZ1he3nzdm01kn597LqI=; b=ho8YQmZHUlS3V0LjUEtmZ1s5YQjpObVbv6Ba3QTY0ZJTiCSQ5LXCxu/V0PDU3Gl7pl WgKJAA8mfYUh7VXHiKcCaZnXpNhF7jb/sz7tXtBu2tpEfplQqkiA7fhfxfjjUnINY896 rb4EWeSFZjxfzuF4YkdNV55CKkRW/yz5SBV6aN9xcWQE1UWAy95tMsWPoRCbBUFh2rRd 0Tdq7CIYMp/76BLZgyliSZdHz0YjvRGA8VVtxvEKgEFO2dWWTwNb9Wb4E2xmz6m3F5Mz 4It3U3btRHGvvdptawuvxiiOzl74mJECspzOvCT6ZjOtlVpBhqtwr7LqDlJY2UpTJJWC eH4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+3vnObnOv3B2rhDlPy9iAzyaZ1he3nzdm01kn597LqI=; b=ng4L2Dqp6/9n33iX2u/XqlZzOZh5KcI4Fue4EjGMw1UcNmJGacc9E6alpaUW4uhgIk drT6tbKl4Icz6ZfcuS5ZMunBLX0ecwCus7ceJJXEHdp2lyr7FU22a1vranG+oA2jCABW b9v3/IU7J3GduSAN0PgGA3VHvZUSQFhHdkR2ehXYVyLtMb0Z1vCn2pJlXef7c3OO9yJ6 aHjKR7g9U8CLXMpD78+76uENTuWueoQE9BTxUvfj1SeKvlB+w1H/JhUjDEpmaBv9L1lT QdC1cHCM4bxTIc0I1U1TiwfJyDknvauXubPyTzEMMoDxUG9GLTfyuf+ZeRRFTDnXDXPR rosg== X-Gm-Message-State: AKS2vOzXfB3E3rWYQOFx1JxJKWJRfXNAzBs0Z56aMwaipVvb7axASaZN z/s+C4fLeFJ9J8538Qo= X-Received: by 10.28.45.133 with SMTP id t127mr103wmt.107.1498489894392; Mon, 26 Jun 2017 08:11:34 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id d91sm368379wma.7.2017.06.26.08.11.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 08:11:33 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Mon, 26 Jun 2017 16:11:17 +0100 Message-Id: <20170626151117.6221-8-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170626151117.6221-1-ross.burton@intel.com> References: <20170626151117.6221-1-ross.burton@intel.com> Subject: [oe] [meta-oe][PATCH 8/8] meson: set native tool flag variables X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org As well as setting CC/CXX, export CFLAGS/CXXFLAGS and so on. Signed-off-by: Ross Burton --- meta-oe/classes/meson.bbclass | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass index b5b2b3b7e..7eeff4210 100644 --- a/meta-oe/classes/meson.bbclass +++ b/meta-oe/classes/meson.bbclass @@ -10,9 +10,13 @@ do_configure[cleandirs] = "${B}" MESON_SOURCEPATH = "${S}" # These variables in the environment override the *native* tools, not the cross. +export CPPFLAGS = "${BUILD_CPPFLAGS}" export CC = "${BUILD_CC}" +export CFLAGS = "${BUILD_CFLAGS}" export CXX = "${BUILD_CXX}" +export CXXFLAGS = "${BUILD_CXXFLAGS}" export LD = "${BUILD_LD}" +export LDFLAGS = "${BUILD_LDFLAGS}" export AR = "${BUILD_AR}" export PKG_CONFIG = "pkg-config-native"