From patchwork Fri Jul 19 22:49:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 169291 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4408635ilk; Fri, 19 Jul 2019 15:49:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJgA9c1YHzKn3U7lzt0NXxGO2B20VHdTVmP1vgmniYcY4THush9N3IZaadkJ6dEmrbI2I9 X-Received: by 2002:a65:6448:: with SMTP id s8mr56862185pgv.223.1563576564224; Fri, 19 Jul 2019 15:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563576564; cv=none; d=google.com; s=arc-20160816; b=LemM+uWXzQHvIbjeeI7qlFlC9OHqRlkhKiz3xhStgmQhiu3YNfGol/tTo0WBzY3c0w oLFP3bT3WPOBjsQpZsFC4g4crvVUSSiRTCvKZUBNPT6tUo5jhklprRUQH4DqfzxCqVrR aO9iZcTEKtvhgUhD3DN2f3km8vuqZQYPwa0yVG7SQRzbt4p+lUz1EohU/X80NHVrUu0p FLqS0Yb4ivFLB8oxjSHtdJTnbBqc4xHWpYb+LyJRiYtAtSV5a1TFrQR4eVR2RqBoVaml ktC+8/MO7ps92Xa2TnJ8mXrAVDs3mnkbNuqHjW5frAlfB9qAAQDqLWhxicwSh9CSJtFv mphw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=Rr3mmNCXq8G6+NfHmuGqPCNeUBei3Wwe+bteF/nx7jc=; b=sn1gwPTWe1Di+R2KagxvvPJscPPj/D/ZimhmNb9Zz29tbyAHEWt6CelSajdswoihly xRLwE8ENAzvjkdOOeVb80fvN6kl02l+U5hHeM5+DsvLPtTufv4TQ08j/VH0T+K3bkYNV IBszANePOz1RUYuh62k3ICOSsOYUeb/wYLjCB8Ds2kYbw1CvLC+EWlFPdaMMFiQWUrGX JfswX0Mqq00mS1tj1Nw+sTeo2ErRgHQ0ugDsvfERUncoNkRDiK73s5k/uDkN2ElfUrX1 U7lduHPoQRG7vKCJuat/h12szwxZAZoM5zJz0TQ9WMARFcrKa1pC4kzjGm0rk/CBxbSN dswQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=ONKDxsGy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g12si2690304pgj.124.2019.07.19.15.49.23; Fri, 19 Jul 2019 15:49:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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.s=20150623 header.b=ONKDxsGy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4E11E7F1F0; Fri, 19 Jul 2019 22:49:20 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mail.openembedded.org (Postfix) with ESMTP id A80537F1E5 for ; Fri, 19 Jul 2019 22:49:18 +0000 (UTC) Received: by mail-wm1-f53.google.com with SMTP id v19so30344997wmj.5 for ; Fri, 19 Jul 2019 15:49:20 -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:mime-version :content-transfer-encoding; bh=Y5IBymkKq7E6E4xbj++m896i+IKNsvYkPd196ZceJns=; b=ONKDxsGyAKYMJXk0K1qKIXWnHhuHDjmqY02qwyzhlECKVuzMPdfkp8TbyGU/pQz4os d6UM0FRtB0c2fQgpUJK5oa/7/rUDBnznSk0k3/fC/DiAa81nA0ssi6mATawco580PUrl 0k546UTgzzUnf4kr/aZghH3VjRQZO0XECJwQKE9CKN/5MSVA+RU4ubkG9WO1JPSFvPYS TXqzFLm3gsNr0UlkeEMdfSaBEE3xk2sdZEfStRWsSmbV2gJBc9WxPbcHFw0L2w0iuRTs qWB/hcYalfN7WZ3rWOuRgsAjUZVsHLvyUY/GXt3ZyTqmG/+JL78w3L8iI1xR+4hBc7OF FAIQ== 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:mime-version :content-transfer-encoding; bh=Y5IBymkKq7E6E4xbj++m896i+IKNsvYkPd196ZceJns=; b=Qo2H6XSyNnbSxDi3I90//KgTTMzP3FHKl3G+t3QjJbPwBN3txCfBvikWVsycaCnkNK 1Cc4gsyLtprtqi4mpfcDTTsOqk0CwyBAVyAvJ6C9Br6pk9mSGonW31jhMScYjYhhyPLl VqI1jzLfPZvNRueXwJtfO7ibzlI9V9TTDudOBX6Q7S00NkmbjSpEn7NjuZDyOPrXJHZ9 9DWkrBH6I0uz+WtzHbchkW8pOuUqjsMoH3JOqz0bQh4IHrkZ0GVHFuQmYthjNpK3PEU8 +ToplQSG379spM6KBBguCuIg2++en3ThZxc3fOAHkxCu9ROSBV1cYgveFb0zVnyrQQzg jluw== X-Gm-Message-State: APjAAAXBi6M2MCyLdXLCtUguQAg7CDYKc7l8F6CoMAwymETmTs+xCXmP JHZnaPyyEt/e8D/pW1/XyEHn7/L1rBU= X-Received: by 2002:a1c:20c3:: with SMTP id g186mr37924075wmg.15.1563576559079; Fri, 19 Jul 2019 15:49:19 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id c1sm62791729wrh.1.2019.07.19.15.49.18 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 15:49:18 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 19 Jul 2019 23:49:15 +0100 Message-Id: <20190719224915.4581-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] meson.bbclass: export STRIP=${BUILD_STRIP} X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org In Meson the environment variables are always the native tools, so export STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning: ARNING: Env var STRIP seems to point to the cross compiler. This is probably wrong, it should always point to the native compiler. Signed-off-by: Ross Burton --- meta/classes/meson.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 893853142c7..7267e58b101 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -130,6 +130,7 @@ override_native_tools() { export CXX="${BUILD_CXX}" export LD="${BUILD_LD}" export AR="${BUILD_AR}" + export STRIP="${BUILD_STRIP}" # These contain *target* flags but will be used as *native* flags. The # correct native flags will be passed via -Dc_args and so on, unset them so # they don't interfere with tools invoked by Meson (such as g-ir-scanner)