From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ml01.01.org (Postfix) with ESMTP id 31A411A1DF5 for ; Wed, 17 Aug 2016 04:38:48 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 17 Aug 2016 04:38:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,529,1464678000"; d="scan'208,217";a="1015888637" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 17 Aug 2016 04:38:48 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Aug 2016 04:38:46 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 17 Aug 2016 04:38:46 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.181]) with mapi id 14.03.0248.002; Wed, 17 Aug 2016 19:38:44 +0800 From: "Shi, Steven" To: Ard Biesheuvel CC: "sigmaepsilon92@gmail.com" , "Zhu, Yonghong" , "Gao, Liming" , "Justen, Jordan L" , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "afish@apple.com" Thread-Topic: [edk2] [PATCH 3/3] BaseTools GCC: add the compiler flags to the linker command line Thread-Index: AQHR7MvBOX7eyLe5n06MxtRzwH7tDaBMyG8A Date: Wed, 17 Aug 2016 11:38:44 +0000 Message-ID: <06C8AB66E78EE34A949939824ABE2B310338D619@shsmsx102.ccr.corp.intel.com> References: <1470148772-15712-1-git-send-email-ard.biesheuvel@linaro.org> <1470148772-15712-4-git-send-email-ard.biesheuvel@linaro.org> In-Reply-To: <1470148772-15712-4-git-send-email-ard.biesheuvel@linaro.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjUzN2E3NTQtMzEzZi00OGI2LTk2MzktY2RmNDc4NmMyOWY5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdEa1Fqbkcwejd3aWZGZnlcL05xeXQyZ251M3RxMXJzNzZIdWd2RklKa2VjPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH 3/3] BaseTools GCC: add the compiler flags to the linker command line X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2016 11:38:48 -0000 Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGkgQXJkLA0KDQpDTEFORzM4IGhhcyBhIGJ1aWxkIGZhaWx1cmUgYXMgYmVsb3cgZm9yIHRoaXMg cGF0Y2guIFRoaXMgZmFpbHVyZSBpcyBiZWNhdXNlIHRoZSBDTEFORzM4IGVuYWJsZSB0aGUgTFRP IHRocm91Z2ggTExWTWdvbGQuc28gbGlua2VyIHBsdWdpbiwgYnV0IHRoZSBMTFZNZ29sZC5zbyBw bHVnaW4gY2Fubm90IGFjY2VwdCB0aGUgY2xhbmcgLU96IGNjIGZsYWcgYXMgYnVpbGQgb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