From patchwork Sat Feb 25 18:13:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 94516 Delivered-To: patch@linaro.org Received: by 10.140.20.113 with SMTP id 104csp228655qgi; Sat, 25 Feb 2017 10:13:55 -0800 (PST) X-Received: by 10.99.111.205 with SMTP id k196mr11361410pgc.29.1488046435296; Sat, 25 Feb 2017 10:13:55 -0800 (PST) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 1si10704530plh.210.2017.02.25.10.13.55; Sat, 25 Feb 2017 10:13:55 -0800 (PST) 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=@gmail.com; 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=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id F256E77310; Sat, 25 Feb 2017 18:13:40 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id DA4E67313D for ; Sat, 25 Feb 2017 18:13:27 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 1so7315306pgz.2 for ; Sat, 25 Feb 2017 10:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BMEPdUkdYJ8sG2btzh6WEwal81ne3Gvkd61DQZGvIjQ=; b=Ycq2ahE90RS3PjtKuNxQQagYtmCHUbvzsYn27MdaBDJyCvesNGcTV9M7pBvyv5BNs7 7dUo+ITTHUJQgSt7keTNQdHwey8QW9QOukSalQUvTs0Dnccr0sjynwbBuZP5YMXX8aDx ObCPoQKTvRfgzQAHG+VN+jVTO4SVZckEtaEDktvLPYEe9A5HSmacZXc68BnRQMF6sTmT V49UJ6Ez94rIm9QUtx91xD+SKcjV4odnCfsIwLMA/Ao0dSriEsoUW9aZPludwEfXjM8W 3dTRRHyUe5HfS3xgHko0s9nJPN3p0xVbOnVhc/cHvqmlWBCdkNZIvCcHZjoLyn1eA9dv NOvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BMEPdUkdYJ8sG2btzh6WEwal81ne3Gvkd61DQZGvIjQ=; b=We1ZkQJTYkL/7FgZLP0fdWJoHuSCPyt/KVSSh5WS0f5VEohgy6SnQUqpbb1mhMMUpM XcFmKlKaDTHubEerNH81PqdZtGRHSDx3neBE/ZgbzqMdvx+UIzYt384mPar+uFl8PeIN 7Q58MetxVzFiz/zmPkKKd0NY4PEODQy6wwhknjohfe5pIYBUOfFInV+UPFI9lqxmKSsz br1TeTAty+w3EG1BKK9j4Ha1pXkaSkLV8MicXDh99Quf4LEgKL1TbSns0hlMolH/5CSf fWrnGz1WgFH8070EEicy/r0yNkDAy4LqsIcwQKY9DKZLroHEXOY0tY0GVnetikmE14si xPtg== X-Gm-Message-State: AMke39no50jhaDhxzOsZtt5lT/9KDd+VzIF2kRb4zHRI7CG5kUdCH1CXT1d2/cea+Jo3Ew== X-Received: by 10.84.231.200 with SMTP id g8mr12764198pln.100.1488046408870; Sat, 25 Feb 2017 10:13:28 -0800 (PST) Received: from localhost.localdomain (c-76-102-32-192.hsd1.ca.comcast.net. [76.102.32.192]) by smtp.gmail.com with ESMTPSA id y5sm21851692pgy.28.2017.02.25.10.13.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Feb 2017 10:13:28 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 25 Feb 2017 10:13:14 -0800 Message-Id: X-Mailer: git-send-email 2.11.1 In-Reply-To: References: Subject: [OE-core] [PATCH 4/4] go: Use CC for CC_FOR_TARGET and CXX for CXX_FOR_TARGET 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Helps building with clang Signed-off-by: Khem Raj --- meta/recipes-devtools/go/go.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/go/go.inc b/meta/recipes-devtools/go/go.inc index 2449936dab..754fa34c1b 100644 --- a/meta/recipes-devtools/go/go.inc +++ b/meta/recipes-devtools/go/go.inc @@ -13,8 +13,8 @@ export GOARM = "${TARGET_GOARM}" export GOROOT_BOOTSTRAP = "${STAGING_LIBDIR_NATIVE}/go" export GOROOT_FINAL = "${libdir}/go" export CGO_ENABLED = "1" -export CC_FOR_TARGET="${TARGET_PREFIX}gcc ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" -export CXX_FOR_TARGET="${TARGET_PREFIX}g++ ${TARGET_CC_ARCH} --sysroot=${STAGING_DIR_TARGET}" +export CC_FOR_TARGET = "${CC}" +export CXX_FOR_TARGET = "${CXX}" do_configure[noexec] = "1"