From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ard.biesheuvel@linaro.org>
Received: from mail-it0-x236.google.com (mail-it0-x236.google.com
 [IPv6:2607:f8b0:4001:c0b::236])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ml01.01.org (Postfix) with ESMTPS id A1D3A21AE30D0
 for <edk2-devel@lists.01.org>; Tue,  6 Jun 2017 04:09:32 -0700 (PDT)
Received: by mail-it0-x236.google.com with SMTP id r63so105835001itc.1
 for <edk2-devel@lists.01.org>; Tue, 06 Jun 2017 04:10:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=SfGuZICPNCWw3oQafvHj9A9E84bgTMfrpq95uiGDt2s=;
 b=QGtbeYRiFH8FIbQ6ST8kwVSR1ciai8480nwbF6dNv7TfSvRaSTlreGiG8ZW7Mt5QuU
 x779Z4mJhLpQMHvfNW/HtvACxZjomILzym+YKes+gY0gqW4s29Gu4X5lNLz5DHCreGvT
 xKHGW1q89SsSwJ8bLTDorwW3Wy9pNkB8Bwz6s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=SfGuZICPNCWw3oQafvHj9A9E84bgTMfrpq95uiGDt2s=;
 b=egukOEB7ElRSGU0jPfWVkUUZpJ4G/zqDKv/ftP7Rye4adARg6GQna9ujCpfq27O5PL
 GhwOJWrdnjbJaxR+VT7iDR8uoxb8ThEDEuqH+OPxJIw8yFJJDsWLhBeJxJumFa7j2YrN
 F7KEQYygp8d1orhZTvP6fkjxYBZtelA0D970PEESNh+qnkqE3rgib+G0EqCkk1ePfQQq
 gy8koYQvEOHiYo0Y/U5Bh+Q/8pBy6R13/0ZOYIKJdxKSQFLJd/3KNiZVLTdsQcb7ll7b
 vjEK+fakW5UVnJh3IhG8e12M4epj/52aBuhYyl4zPBiaj+WBo1p2qEW/evEsgCetrS7L
 80+g==
X-Gm-Message-State: AODbwcAZO1nFCtbtB1t4juPcw/OIXwdLqbwRqm4B7x66qAv8a9Pxb57g
 3R4Lw2tGvvUNEVj6y8qUn+8coO9kTGhl
X-Received: by 10.107.63.139 with SMTP id m133mr6954028ioa.87.1496747438499;
 Tue, 06 Jun 2017 04:10:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.164.76 with HTTP; Tue, 6 Jun 2017 04:10:37 -0700 (PDT)
In-Reply-To: <149668761241.8960.5720100182345938288@jljusten-skl>
References: <20170601235640.25540-1-jordan.l.justen@intel.com>
 <CAKv+Gu-XWy2Yqas3GkHu4+VCfaAxpF1Zht2ipx7K6emVb7y=RA@mail.gmail.com>
 <0e343bac-27a0-7c76-eb26-86105990d538@redhat.com>
 <149668761241.8960.5720100182345938288@jljusten-skl>
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Date: Tue, 6 Jun 2017 11:10:37 +0000
Message-ID: <CAKv+Gu801DT1yB6WtQLMFvfGA0M6gYgu8BVA-9D2Mx44mOAG6A@mail.gmail.com>
To: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>,
 "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH 1/2] EmulatorPkg/Unix/Host: Add GCC5 CC/DLINK commands (for GCC >= 5)
X-BeenThere: edk2-devel@lists.01.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: EDK II Development  <edk2-devel.lists.01.org>
List-Unsubscribe: <https://lists.01.org/mailman/options/edk2-devel>,
 <mailto:edk2-devel-request@lists.01.org?subject=unsubscribe>
List-Archive: <http://lists.01.org/pipermail/edk2-devel/>
List-Post: <mailto:edk2-devel@lists.01.org>
List-Help: <mailto:edk2-devel-request@lists.01.org?subject=help>
List-Subscribe: <https://lists.01.org/mailman/listinfo/edk2-devel>,
 <mailto:edk2-devel-request@lists.01.org?subject=subscribe>
X-List-Received-Date: Tue, 06 Jun 2017 11:09:32 -0000
Content-Type: text/plain; charset="UTF-8"

On 5 June 2017 at 18:33, Jordan Justen <jordan.l.justen@intel.com> wrote:
> On 2017-06-02 14:48:14, Laszlo Ersek wrote:
>> On 06/02/17 11:03, Ard Biesheuvel wrote:
>> > On 1 June 2017 at 23:56, Jordan Justen <jordan.l.justen@intel.com> wrote:
>> >
>> > A commit log would be nice
>>
>> I agree. FWIW:
>
> How about this?
>
> EmulatorPkg/Unix/Host: Add GCC5 CC/DLINK commands (for GCC >= 5)
>
> These flags are based on the flags from the GCC5 toolchain in
> tools_def.template. Since the GCC5 toolchain uses link-time
> optimizations (LTO), we must compile and link the 'Host' files with
> LTO enabled so we can link to other modules.
>

Perfect.