From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cam-smtp0.cambridge.arm.com (cam-smtp0.cambridge.arm.com [217.140.106.51]) by mx.groups.io with SMTP id smtpd.web11.12129.1594110930889704088 for ; Tue, 07 Jul 2020 01:35:31 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.106.51, mailfrom: pierre.gondois@arm.com) Received: from E119881.Arm.com (E119881.Arm.com [10.1.197.28]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id 0678ZS5v018182; Tue, 7 Jul 2020 09:35:28 +0100 From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , bob.c.feng@intel.com, liming.gao@intel.com, tomas.pilar@arm.com, nd@arm.com Subject: [PATCH V2 2/2] BaseTools: Factorize GCC flags Date: Tue, 7 Jul 2020 09:35:22 +0100 Message-Id: <20200707083522.138944-3-pierre.gondois@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20200707083522.138944-1-pierre.gondois@arm.com> References: <20200707083522.138944-1-pierre.gondois@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 RnJvbTogUGllcnJlIEdvbmRvaXMgPHBpZXJyZS5nb25kb2lzQGFybS5jb20+CgpHQ0M0OF9BTExf Q0NfRkxBR1MgaGFzIG5vIGRlcGVuZGVuY3kgb24gR0NDX0FMTF9DQ19GTEFHUy4KQnkgZGVmaW5p dGlvbiwgdGhlcmUgc2hvdWxkIGJlIHN1Y2ggZGVwZW5kZW5jeS4KClRoZSBvdXRjb21lcyBvZiB0 aGlzIHBhdGNoIGlzIHRoYXQgR0NDNDhfQUxMX0NDX0ZMQUdTIGFuZApvdGhlciBkZXBlbmRlbnQg Y29uZmlndXJhdGlvbnMgd2lsbCBpbmhlcml0IGZyb20gdGhlCmFkZGl0aW9uYWwgIi1PcyIgZmxh Zy4KVGhlICItT3MiIGZsYWcgb3B0aW1pemVzIGEgYnVpbGQgaW4gc2l6ZSwgbm90I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