From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 9913C21A09105 for ; Mon, 5 Jun 2017 11:32:27 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 05 Jun 2017 11:33:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,302,1493708400"; d="scan'208";a="1156828364" Received: from sjaworsk-mobl1.amr.corp.intel.com (HELO localhost) ([10.255.73.108]) by fmsmga001.fm.intel.com with ESMTP; 05 Jun 2017 11:33:32 -0700 MIME-Version: 1.0 To: Ard Biesheuvel , Laszlo Ersek Message-ID: <149668761241.8960.5720100182345938288@jljusten-skl> From: Jordan Justen In-Reply-To: <0e343bac-27a0-7c76-eb26-86105990d538@redhat.com> Cc: "edk2-devel@lists.01.org" References: <20170601235640.25540-1-jordan.l.justen@intel.com> <0e343bac-27a0-7c76-eb26-86105990d538@redhat.com> User-Agent: alot/0.5.1 Date: Mon, 05 Jun 2017 11:33:32 -0700 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: Mon, 05 Jun 2017 18:32:27 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 wrot= e: > > = > > A commit log would be nice > = > I agree. FWIW: How about this? EmulatorPkg/Unix/Host: Add GCC5 CC/DLINK commands (for GCC >=3D 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. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel