Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4105646yba; Tue, 9 Apr 2019 11:14:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwawvcfSDh4QO7ndwvtM6mQADH8dt+/7G+d/ZcxDxYq+C8l18MvM57hnRwryoRr06Tx9TEE X-Received: by 2002:a17:902:24a2:: with SMTP id w31mr6360271pla.78.1554833658936; Tue, 09 Apr 2019 11:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554833658; cv=none; d=google.com; s=arc-20160816; b=DLK2tQq956HwN5uFCqRtQa0nZdq04J8rl3xkQw33kKRYD1cCeIWLODyYKPxDeRLx8E 9BagTXNChKk7GUJa/U05dXuWstn/iShFFDnll1+tqAuPIENFfDuZFVTPS4X6mKWeyI/U SsFYQ2VpINKCr1fouQWlMDJEOW3vG9WgTzT14jm8pL8zTVTEYMOP9UNKDrgCnzru7+b7 t9W1XIHm/6ADPzdb0wRF91kPMcFQXRerPwxf5mrRFHqvKfNRgf3F7v/6+iN+3Fiyr7NE eWUm4Eq0Lc0IYS5WomsKLtxCEaARwvrJf929/ZdWMDMljB9XZAs5DVUtqL0si1LDNCGH Twkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yK/ReiU68p6yLLDcuH/19uzJguQ8yZsF+lcd3IFSfvU=; b=xMtQqkqYj66l+NNgZeXvIwdXzSdNpvLxFDa5hQZYPDlcwMAUmBsrFn6sljoHfcQiJR yl6fIC4+oDBFWm7tqUgEOsOoj7DpS8T4neX5rjgqzSPtoJiHJTnD7oo4aemxLlPDrIUF YB/H+dLQdhpLRZkBbdLT0SftwT4RDLgKhPQaQ39GG9kvV++Fppsm2ha/GWdT+cuRvZ20 zTkrksvqxo/Y7o+hynY1OJjNvuOTieBAop9lA78ScBzUBK8UliZbFrF7yS7jXXFaokh2 Lx4eQcEp2YVELBLPF09zNFTDEin+YErP3rWQuux73S1E4V0kaNPfds90WwXm9PvCi2Vr Loyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="cb/34mFo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si9148912pgt.564.2019.04.09.11.14.02; Tue, 09 Apr 2019 11:14:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="cb/34mFo"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726602AbfDISMK (ORCPT + 99 others); Tue, 9 Apr 2019 14:12:10 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45463 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbfDISMK (ORCPT ); Tue, 9 Apr 2019 14:12:10 -0400 Received: by mail-pl1-f196.google.com with SMTP id bf11so9858518plb.12 for ; Tue, 09 Apr 2019 11:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yK/ReiU68p6yLLDcuH/19uzJguQ8yZsF+lcd3IFSfvU=; b=cb/34mFo7iZzHeSQRgeCSitDZ4yKq0IRE3Rjibizns5eFb8kpPmnjHdVkHUVcfLzMn Ff6qOaA9t/QGjfl3MH1cNMjF4NgTDFELEQP2qoOvtghPMNo3wIfRZH9UKdSNgM59NDjy VtIDo7BTwEidJH9YcpeXnfeZGWsDJdDSo532a+FEPNN8IhkBqDEI5AgosZcDtlNwzMKm q1deBzv55o42yShktHx4nELTDxDcDQixQYRflU5oKYjS9nQii4RrAF8Xz0AM5G5zODVK 1eeBT3kpGRG5wbykQGH7hO6fewRGLWT3kY1tVbi7pkxkpgfEwoZFb3pYVs8nbGfN5xcY mqVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yK/ReiU68p6yLLDcuH/19uzJguQ8yZsF+lcd3IFSfvU=; b=H8mzSOS20TadxG/9/S0uzIvMzeLa6JwHW0Ukne+RYUeq6riXzCm6ro5RgcG+l68Cst 5g3hoXYZB68qfpULYsUT/4M+eoN6fpsx+vvijRhjqxra9tXo+53xOaCDH2a8kf+0Mjnb CaXsyl26jkLDUUPinCLg3utpEQw8JGuIOgRIJGTTl8fYrCbkTivN69IyzX6jaIw5olwm HUBcgRsxyMuGFqXexZAXZBNyB5ic6qOOiqQfAl6auGLQr5IevJ0uER+4/Q9VDYhnqGkr Qt1eNvmiEcqU8H5T6wQguOF29q83KhByIhFnD9Hu1NQNqZs+H7R+c0LeXVmT/n0Dobfz Xygg== X-Gm-Message-State: APjAAAWlqHT2KpHazp1lNynSifb2yQC7wWILK7dYsXwhMYzgKSRyHOOR 0meaDuhdLBgaC3EDQ/MOtXz52ijQ2pPVt5oJiHGpEg== X-Received: by 2002:a17:902:8a8b:: with SMTP id p11mr38611843plo.227.1554833529078; Tue, 09 Apr 2019 11:12:09 -0700 (PDT) MIME-Version: 1.0 References: <20190408212648.2407234-1-arnd@arndb.de> <20190408212648.2407234-3-arnd@arndb.de> <20190408220312.GA18333@archlinux-i9> <20190409163049.GA2046@archlinux-i9> In-Reply-To: <20190409163049.GA2046@archlinux-i9> From: Nick Desaulniers Date: Tue, 9 Apr 2019 11:11:57 -0700 Message-ID: Subject: Re: [PATCH 03/12] s390: purgatory: pass --target option to clang To: Nathan Chancellor Cc: Arnd Bergmann , Martin Schwidefsky , Heiko Carstens , clang-built-linux@googlegroups.com, linux-s390 , Philipp Rudo , Hendrik Brueckner , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 9, 2019 at 9:30 AM Nathan Chancellor wrote: > It did just occur to me that we added the --target and --gcc-toolchain > flags to a clang specific variable, CLANG_FLAGS, that has already been > used by powerpc in commit 813af51f5d30 ("powerpc/boot: Set target when > cross-compiling for clang"). I assume that could be used here? I think reusing CLANG_FLAGS is a better approach. -- Thanks, ~Nick Desaulniers