From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (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 8B17C21A0912D for ; Fri, 19 May 2017 10:15:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1495214135; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9cS7iESYlq3wZ0tHMy3X/fkavrL+mGoTyUaosp016GM=; b=NivKuf2B845ck6aSpHoCATKYBZnkCwXgPpy+h+8ZVDBPyb4tg1uVkM0/lblmHZBN tslulPlbzumCOf6dq3hHBJeKQeKivEaTabPDIY36XPrRUsnrGRywopLsnNugXHOH Ktfn4K+JW4CbE6H4sNlDf19EKh3jt1nX7ErkyCkG5zA6Qk5/bedipeOIwQjrDcKn 8QwjW/Dqfk6qE6IAbun5d5ORsCjVjxRmoxjL2H9xhxjZvb2/tCTnPcfkltYb3Lzs wWTltQan/1DIJjKcpBOdgf6QUwDNI303EV8KZ4hjk3C57VJN8D1ZN6AEsw6B01mh ytDJKDrAIJ7vI1dyip1qog==; Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id 8E.E5.12614.6382F195; Fri, 19 May 2017 10:15:35 -0700 (PDT) X-AuditID: 11973e11-c83ff70000003146-b6-591f2836930e Received: from nwk-mmpp-sz11.apple.com (nwk-mmpp-sz11.apple.com [17.128.115.155]) by relay2.apple.com (Apple SCV relay) with SMTP id 33.1B.07829.6382F195; Fri, 19 May 2017 10:15:34 -0700 (PDT) MIME-version: 1.0 Received: from [17.153.81.105] by nwk-mmpp-sz11.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0OQ700BK5MLXQK60@nwk-mmpp-sz11.apple.com>; Fri, 19 May 2017 10:15:34 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Fri, 19 May 2017 10:15:34 -0700 Cc: Mike Kinney , "edk2-devel@lists.01.org" , Laszlo Ersek Message-id: References: <1495175456-4880-1-git-send-email-michael.d.kinney@intel.com> To: Ard Biesheuvel X-Mailer: Apple Mail (2.3273) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsUi2FDorGuuIR9p8Okdt8X/D7sZLfYcOsps sezYDhaLjo5/TA4sHov3vGTyuHNtD5tH9+x/LB7v911lC2CJ4rJJSc3JLEst0rdL4Mo4v+kA U8FXtorbP/ayNzCuYu1i5OSQEDCR6Fyznq2LkYtDSGA1k8Smvz8YYRI39nSzQyQOMUqcbN3C DJLgFRCU+DH5HksXIwcHs4C8xMHzsiBhZgEtie+PWlkg6r8ySpzatBWsXlhAXOLdmU1Qtq/E 33tnmEBsNgFliRXzP7CD2JwCwRL/X85nAbFZBFQlHmy+A7aYWaCdUWLilm52iMU2EueWLmeG 2LCQSeLkzA+sIFeICOhJtHSZQVwtK3Fr9iWwGgmBJWwSv549YJ7AKDwLyeGzEA6fheTwBYzM qxiFchMzc3Qz84z0EgsKclL1kvNzNzGComC6neAOxuOrrA4xCnAwKvHwJvySixRiTSwrrsw9 xCjNwaIkzssiLB8pJJCeWJKanZpakFoUX1Sak1p8iJGJg1OqgTHZ6MHk1ysPekV/LW3rkP8w V074hdoMuU9ly2z3/7lgc979wN9irYoZRpfErvbvUNwby/484uCZKt4JqpeXL2tqXiBy8Ofb uTGJ29gvnc7liPX/k6bSlih8anrC+jc1B5R9l2zi+KfqaRuQN5ndRHHCecmnvpOzi24c4lol nPRqy/Oqize/PvVWYinOSDTUYi4qTgQAsle8YWMCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsUi2FA8W9dMQz7SYOdBA4v/H3YzWuw5dJTZ YtmxHSwWHR3/mBxYPBbvecnkcefaHjaP7tn/WDze77vKFsASxWWTkpqTWZZapG+XwJVxftMB poKvbBW3f+xlb2BcxdrFyMkhIWAicWNPN3sXIxeHkMAhRomTrVuYQRK8AoISPybfY+li5OBg FpCXOHheFiTMLKAl8f1RKwtE/VdGiVObtoLVCwuIS7w7swnK9pX4e+8ME4jNJqAssWL+B3YQ m1MgWOL/y/ksIDaLgKrEg813wBYzC7QzSkzc0s0OsdhG4tzS5cwQGxYySZyc+YEV5AoRAT2J li4ziKtlJW7NvsQ8gVFgFpJbZyHcOgvJrQsYmVcxChSl5iRWGuklFhTkpOol5+duYgQHbaHz DsZjy6wOMQpwMCrx8Cb8kosUYk0sK67MBQYGB7OSCC+DqHykEG9KYmVValF+fFFpTmrxIUZp DhYlcd6DakApgfTEktTs1NSC1CKYLBMHp1QDI8tBm43MWypEGWN78o/eZbn+nU/s3oS4DHH3 dfkaNqcfrVat/P3p3YlCA6e0Je+nm56dcq0mnkfijyWvdxsn102O9X1v1tibnwvunq/jeOX9 xjkb49nPC3SzXPyyVFIj8ez7eDe/B28Lyo79/Ob2+M2J76tuPj2Vffvne73egmnav9WTZD6o +CmxFGckGmoxFxUnAgBEWNNaVgIAAA== Subject: Re: [Patch] OvmfPkg: Add XCODE5 statements to fix build break 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: Fri, 19 May 2017 17:15:35 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On May 19, 2017, at 10:02 AM, Ard Biesheuvel wrote: > > On 19 May 2017 at 17:45, Kinney, Michael D wrote: >> Hi Ard, >> >> The order of assignment does not matter. I have tried it >> both ways and both orders use the XCODE option instead of the >> GCC option when the XCODE5 tool chain is used. >> > > Interesting. Is this fully specified in any of the EDK2 specs? If not, > we are relying on an implementation detail of our BaseTools, which I > guess we'd rather avoid. > Ard, I thought it was specified via Conf/tools_def.txt *_XCODE5_*_*_FAMILY = GCC *_XCODE5_*_*_BUILDRULEFAMILY = XCODE XCODE is set to the GCC family. So basically XCODE overrides GCC if both are present, and XCODE uses GCC if only GCC is present. So the best of both worlds :). Thanks, Andrew Fish