From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2404321959CC5 for ; Tue, 6 Jun 2017 10:17:01 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B14EAC04B310; Tue, 6 Jun 2017 17:18:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B14EAC04B310 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=lersek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B14EAC04B310 Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-130.phx2.redhat.com [10.3.116.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id E08A362926; Tue, 6 Jun 2017 17:18:06 +0000 (UTC) To: Ard Biesheuvel , Jordan Justen Cc: "edk2-devel@lists.01.org" References: <20170601235640.25540-1-jordan.l.justen@intel.com> <0e343bac-27a0-7c76-eb26-86105990d538@redhat.com> <149668761241.8960.5720100182345938288@jljusten-skl> From: Laszlo Ersek Message-ID: Date: Tue, 6 Jun 2017 19:18:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 06 Jun 2017 17:18:07 +0000 (UTC) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2017 17:17:01 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 06/06/17 13:10, Ard Biesheuvel wrote: > On 5 June 2017 at 18:33, Jordan Justen 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 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. > +1