From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 2E15D1A1DEB for ; Mon, 10 Oct 2016 19:19:00 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP; 10 Oct 2016 19:18:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,327,1473145200"; d="scan'208";a="1042976848" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 10 Oct 2016 19:18:59 -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; Mon, 10 Oct 2016 19:18:59 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 10 Oct 2016 19:18:59 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.15]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.95]) with mapi id 14.03.0248.002; Tue, 11 Oct 2016 10:18:58 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" CC: Laszlo Ersek Thread-Topic: [Patch V4] BaseTools: support the NOOPT target with the GCC tool chains Thread-Index: AQHSI2NNJ88PbgfrYEWtDdQZosXeAqCihNJw Date: Tue, 11 Oct 2016 02:18:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14B48305A@shsmsx102.ccr.corp.intel.com> References: <1476151236-43084-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1476151236-43084-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch V4] BaseTools: support the NOOPT target with the GCC tool chains 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: Tue, 11 Oct 2016 02:19:00 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Zhu, Yonghong > Sent: Tuesday, October 11, 2016 10:01 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming ; Laszlo Ersek > Subject: [Patch V4] BaseTools: support the NOOPT target with the GCC tool > chains >=20 > Update the tools_def.template to add NOOPT support with GCC tool chains. > Also disable -flto and -Os in NOOPT target for GCC5. >=20 > Cc: Liming Gao > Cc: Laszlo Ersek > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Yonghong Zhu > --- > BaseTools/Conf/tools_def.template | 98 > +++++++++++++++++++++++++++++---------- > 1 file changed, 73 insertions(+), 25 deletions(-) >=20 > diff --git a/BaseTools/Conf/tools_def.template > b/BaseTools/Conf/tools_def.template > index 5414454..9dc7859 100755 > --- a/BaseTools/Conf/tools_def.template > +++ b/BaseTools/Conf/tools_def.template > @@ -4333,10 +4333,11 @@ NOOPT_DDK3790xASL_IPF_DLINK_FLAGS =3D > /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT:REF > *_*_*_OBJCOPY_FLAGS =3D objcopy not needed for > *_*_*_SYMRENAME_PATH =3D echo > *_*_*_SYMRENAME_FLAGS =3D Symbol renaming not needed for > DEBUG_*_*_OBJCOPY_ADDDEBUGFLAG =3D --add-gnu- > debuglink=3D$(DEBUG_DIR)/$(MODULE_NAME).debug > RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG =3D > +NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG =3D --add-gnu- > debuglink=3D$(DEBUG_DIR)/$(MODULE_NAME).debug >=20 > DEFINE GCC_ALL_CC_FLAGS =3D -g -Os -fshort-wchar -fno-strict-= aliasing - > Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common > DEFINE GCC_IA32_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -m32 - > malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno- > stack-arg-probe > DEFINE GCC_X64_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -mno-red- > zone -Wno-address -mno-stack-arg-probe > DEFINE GCC_IPF_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -minline-in= t- > divide-min-latency > @@ -4369,11 +4370,11 @@ DEFINE GCC_IPF_RC_FLAGS =3D -I binary = -O > elf64-ia64-little -B ia64 > DEFINE GCC_ARM_RC_FLAGS =3D -I binary -O elf32-littlearm = -B arm -- > rename-section .data=3D.hii > DEFINE GCC_AARCH64_RC_FLAGS =3D -I binary -O elf64-littleaarch64 = -B > aarch64 --rename-section .data=3D.hii >=20 > DEFINE GCC44_ALL_CC_FLAGS =3D -g -fshort-wchar -fno-strict-al= iasing - > Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -inclu= de > AutoGen.h -fno-common -DSTRING_ARRAY_NAME=3D$(BASE_NAME)Strings > DEFINE GCC44_IA32_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -m32 - > march=3Di586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchrono= us- > unwind-tables > -DEFINE GCC44_X64_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -m64 - > fno-stack-protector "-DEFIAPI=3D__attribute__((ms_abi))" -Os -maccumulate= - > outgoing-args -mno-red-zone -Wno-address -mcmodel=3Dsmall -fpie -fno- > asynchronous-unwind-tables > +DEFINE GCC44_X64_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -m64 - > fno-stack-protector "-DEFIAPI=3D__attribute__((ms_abi))" -maccumulate- > outgoing-args -mno-red-zone -Wno-address -mcmodel=3Dsmall -fpie -fno- > asynchronous-unwind-tables > DEFINE GCC44_IA32_X64_DLINK_COMMON =3D -nostdlib -Wl,-n,-q,--gc- > sections -z common-page-size=3D0x20 > DEFINE GCC44_IA32_X64_ASLDLINK_FLAGS =3D > DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,--entry,ReferenceAcpiTable -u > ReferenceAcpiTable > DEFINE GCC44_IA32_X64_DLINK_FLAGS =3D > DEF(GCC44_IA32_X64_DLINK_COMMON) -Wl,-- > entry,$(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Wl,- > Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map > DEFINE GCC44_IA32_DLINK2_FLAGS =3D -Wl,-- > defsym=3DPECOFF_HEADER_SIZE=3D0x220 DEF(GCC_DLINK2_FLAGS_COMMON) > DEFINE GCC44_X64_DLINK_FLAGS =3D > DEF(GCC44_IA32_X64_DLINK_FLAGS) -Wl,-melf_x86_64,--oformat=3Delf64- > x86-64 > @@ -4470,17 +4471,17 @@ DEFINE GCC49_ARM_DLINK2_FLAGS =3D > DEF(GCC48_ARM_DLINK2_FLAGS) > DEFINE GCC49_AARCH64_DLINK_FLAGS =3D > DEF(GCC48_AARCH64_DLINK_FLAGS) > DEFINE GCC49_AARCH64_DLINK2_FLAGS =3D > DEF(GCC48_AARCH64_DLINK2_FLAGS) > DEFINE GCC49_ARM_ASLDLINK_FLAGS =3D > DEF(GCC48_ARM_ASLDLINK_FLAGS) > DEFINE GCC49_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC48_AARCH64_ASLDLINK_FLAGS) >=20 > -DEFINE GCC5_IA32_CC_FLAGS =3D DEF(GCC49_IA32_CC_FLAGS) -flto = - > fno-builtin > -DEFINE GCC5_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -flto - > fno-builtin -DUSING_LTO > +DEFINE GCC5_IA32_CC_FLAGS =3D DEF(GCC49_IA32_CC_FLAGS) -fno- > builtin > +DEFINE GCC5_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -fno- > builtin > DEFINE GCC5_IA32_X64_DLINK_COMMON =3D > DEF(GCC49_IA32_X64_DLINK_COMMON) > DEFINE GCC5_IA32_X64_ASLDLINK_FLAGS =3D > DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) > -DEFINE GCC5_IA32_X64_DLINK_FLAGS =3D > DEF(GCC49_IA32_X64_DLINK_FLAGS) -flto > +DEFINE GCC5_IA32_X64_DLINK_FLAGS =3D > DEF(GCC49_IA32_X64_DLINK_FLAGS) > DEFINE GCC5_IA32_DLINK2_FLAGS =3D DEF(GCC49_IA32_DLINK2_FLAGS) - > Wno-error > -DEFINE GCC5_X64_DLINK_FLAGS =3D DEF(GCC49_X64_DLINK_FLAGS) - > flto > +DEFINE GCC5_X64_DLINK_FLAGS =3D DEF(GCC49_X64_DLINK_FLAGS) > DEFINE GCC5_X64_DLINK2_FLAGS =3D DEF(GCC49_X64_DLINK2_FLAGS) - > Wno-error > DEFINE GCC5_ASM_FLAGS =3D DEF(GCC49_ASM_FLAGS) > DEFINE GCC5_ARM_ASM_FLAGS =3D DEF(GCC49_ARM_ASM_FLAGS) > DEFINE GCC5_AARCH64_ASM_FLAGS =3D > DEF(GCC49_AARCH64_ASM_FLAGS) > DEFINE GCC5_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC_FLAGS) > @@ -4619,17 +4620,20 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > *_GCC44_IA32_RC_PATH =3D DEF(GCC44_IA32_PREFIX)objcopy >=20 > *_GCC44_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 > *_GCC44_IA32_ASLDLINK_FLAGS =3D > DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 > *_GCC44_IA32_ASM_FLAGS =3D DEF(GCC44_ASM_FLAGS) -m32 --32 - > march=3Di386 > -*_GCC44_IA32_CC_FLAGS =3D DEF(GCC44_IA32_CC_FLAGS) -Os > *_GCC44_IA32_DLINK_FLAGS =3D DEF(GCC44_IA32_X64_DLINK_FLAGS) - > Wl,-m,elf_i386,--oformat=3Delf32-i386 > *_GCC44_IA32_DLINK2_FLAGS =3D DEF(GCC44_IA32_DLINK2_FLAGS) > *_GCC44_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) > *_GCC44_IA32_OBJCOPY_FLAGS =3D > *_GCC44_IA32_NASM_FLAGS =3D -f elf32 >=20 > + DEBUG_GCC44_IA32_CC_FLAGS =3D DEF(GCC44_IA32_CC_FLAGS) -Os > +RELEASE_GCC44_IA32_CC_FLAGS =3D DEF(GCC44_IA32_CC_FLAGS) -Os > + NOOPT_GCC44_IA32_CC_FLAGS =3D DEF(GCC44_IA32_CC_FLAGS) -O0 > + > ################## > # GCC44 X64 definitions > ################## > *_GCC44_X64_OBJCOPY_PATH =3D DEF(GCC44_X64_PREFIX)objcopy > *_GCC44_X64_CC_PATH =3D DEF(GCC44_X64_PREFIX)gcc > @@ -4644,17 +4648,20 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > *_GCC44_X64_RC_PATH =3D DEF(GCC44_X64_PREFIX)objcopy >=20 > *_GCC44_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 > *_GCC44_X64_ASLDLINK_FLAGS =3D > DEF(GCC44_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > *_GCC44_X64_ASM_FLAGS =3D DEF(GCC44_ASM_FLAGS) -m64 --64 - > melf_x86_64 > -*_GCC44_X64_CC_FLAGS =3D DEF(GCC44_X64_CC_FLAGS) > *_GCC44_X64_DLINK_FLAGS =3D DEF(GCC44_X64_DLINK_FLAGS) > *_GCC44_X64_DLINK2_FLAGS =3D DEF(GCC44_X64_DLINK2_FLAGS) > *_GCC44_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC44_X64_OBJCOPY_FLAGS =3D > *_GCC44_X64_NASM_FLAGS =3D -f elf64 >=20 > + DEBUG_GCC44_X64_CC_FLAGS =3D DEF(GCC44_X64_CC_FLAGS) -Os > +RELEASE_GCC44_X64_CC_FLAGS =3D DEF(GCC44_X64_CC_FLAGS) -Os > + NOOPT_GCC44_X64_CC_FLAGS =3D DEF(GCC44_X64_CC_FLAGS) -O0 > + >=20 > ########################################################## > ########################## > # > # GCC 4.5 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 4.5. > # > @@ -4689,17 +4696,20 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > *_GCC45_IA32_RC_PATH =3D DEF(GCC45_IA32_PREFIX)objcopy >=20 > *_GCC45_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 > *_GCC45_IA32_ASLDLINK_FLAGS =3D > DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 > *_GCC45_IA32_ASM_FLAGS =3D DEF(GCC45_ASM_FLAGS) -m32 --32 - > march=3Di386 > -*_GCC45_IA32_CC_FLAGS =3D DEF(GCC45_IA32_CC_FLAGS) -Os > *_GCC45_IA32_DLINK_FLAGS =3D DEF(GCC45_IA32_X64_DLINK_FLAGS) - > Wl,-m,elf_i386,--oformat=3Delf32-i386 > *_GCC45_IA32_DLINK2_FLAGS =3D DEF(GCC45_IA32_DLINK2_FLAGS) > *_GCC45_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) > *_GCC45_IA32_OBJCOPY_FLAGS =3D > *_GCC45_IA32_NASM_FLAGS =3D -f elf32 >=20 > + DEBUG_GCC45_IA32_CC_FLAGS =3D DEF(GCC45_IA32_CC_FLAGS) -Os > +RELEASE_GCC45_IA32_CC_FLAGS =3D DEF(GCC45_IA32_CC_FLAGS) -Os > + NOOPT_GCC45_IA32_CC_FLAGS =3D DEF(GCC45_IA32_CC_FLAGS) -O0 > + > ################## > # GCC45 X64 definitions > ################## > *_GCC45_X64_OBJCOPY_PATH =3D DEF(GCC45_X64_PREFIX)objcopy > *_GCC45_X64_CC_PATH =3D DEF(GCC45_X64_PREFIX)gcc > @@ -4714,17 +4724,20 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > *_GCC45_X64_RC_PATH =3D DEF(GCC45_X64_PREFIX)objcopy >=20 > *_GCC45_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 > *_GCC45_X64_ASLDLINK_FLAGS =3D > DEF(GCC45_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > *_GCC45_X64_ASM_FLAGS =3D DEF(GCC45_ASM_FLAGS) -m64 --64 - > melf_x86_64 > -*_GCC45_X64_CC_FLAGS =3D DEF(GCC45_X64_CC_FLAGS) > *_GCC45_X64_DLINK_FLAGS =3D DEF(GCC45_X64_DLINK_FLAGS) > *_GCC45_X64_DLINK2_FLAGS =3D DEF(GCC45_X64_DLINK2_FLAGS) > *_GCC45_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC45_X64_OBJCOPY_FLAGS =3D > *_GCC45_X64_NASM_FLAGS =3D -f elf64 >=20 > + DEBUG_GCC45_X64_CC_FLAGS =3D DEF(GCC45_X64_CC_FLAGS) -Os > +RELEASE_GCC45_X64_CC_FLAGS =3D DEF(GCC45_X64_CC_FLAGS) -Os > + NOOPT_GCC45_X64_CC_FLAGS =3D DEF(GCC45_X64_CC_FLAGS) -O0 > + >=20 > ########################################################## > ########################## > # > # GCC 4.6 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 4.6. > # > @@ -4767,10 +4780,11 @@ DEFINE GCC5_AARCH64_ASLDLINK_FLAGS =3D > DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > *_GCC46_IA32_OBJCOPY_FLAGS =3D > *_GCC46_IA32_NASM_FLAGS =3D -f elf32 >=20 > DEBUG_GCC46_IA32_CC_FLAGS =3D DEF(GCC46_IA32_CC_FLAGS) -Os > RELEASE_GCC46_IA32_CC_FLAGS =3D DEF(GCC46_IA32_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC46_IA32_CC_FLAGS =3D DEF(GCC46_IA32_CC_FLAGS) -O0 >=20 > ################## > # GCC46 X64 definitions > ################## > *_GCC46_X64_OBJCOPY_PATH =3D DEF(GCC46_X64_PREFIX)objcopy > @@ -4792,12 +4806,13 @@ RELEASE_GCC46_IA32_CC_FLAGS =3D > DEF(GCC46_IA32_CC_FLAGS) -Os -Wno-unused-but > *_GCC46_X64_DLINK2_FLAGS =3D DEF(GCC46_X64_DLINK2_FLAGS) > *_GCC46_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC46_X64_OBJCOPY_FLAGS =3D > *_GCC46_X64_NASM_FLAGS =3D -f elf64 >=20 > - DEBUG_GCC46_X64_CC_FLAGS =3D DEF(GCC46_X64_CC_FLAGS) > -RELEASE_GCC46_X64_CC_FLAGS =3D DEF(GCC46_X64_CC_FLAGS) -Wno- > unused-but-set-variable > + DEBUG_GCC46_X64_CC_FLAGS =3D DEF(GCC46_X64_CC_FLAGS) -Os > +RELEASE_GCC46_X64_CC_FLAGS =3D DEF(GCC46_X64_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC46_X64_CC_FLAGS =3D DEF(GCC46_X64_CC_FLAGS) -O0 >=20 > ################## > # GCC46 ARM definitions > ################## > *_GCC46_ARM_OBJCOPY_PATH =3D echo > @@ -4826,10 +4841,11 @@ RELEASE_GCC46_X64_CC_FLAGS =3D > DEF(GCC46_X64_CC_FLAGS) -Wno-unused-but-set-v > *_GCC46_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC46_ARM_CC_XIPFLAGS =3D DEF(GCC46_ARM_CC_XIPFLAGS) >=20 > DEBUG_GCC46_ARM_CC_FLAGS =3D DEF(GCC46_ARM_CC_FLAGS) -O0 > RELEASE_GCC46_ARM_CC_FLAGS =3D DEF(GCC46_ARM_CC_FLAGS) -Wno- > unused-but-set-variable > + NOOPT_GCC46_ARM_CC_FLAGS =3D DEF(GCC46_ARM_CC_FLAGS) -O0 >=20 >=20 > ########################################################## > ########################## > # > # GCC 4.7 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 4.7. > @@ -4873,10 +4889,11 @@ RELEASE_GCC46_ARM_CC_FLAGS =3D > DEF(GCC46_ARM_CC_FLAGS) -Wno-unused-but-set-v > *_GCC47_IA32_OBJCOPY_FLAGS =3D > *_GCC47_IA32_NASM_FLAGS =3D -f elf32 >=20 > DEBUG_GCC47_IA32_CC_FLAGS =3D DEF(GCC47_IA32_CC_FLAGS) -Os > RELEASE_GCC47_IA32_CC_FLAGS =3D DEF(GCC47_IA32_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC47_IA32_CC_FLAGS =3D DEF(GCC47_IA32_CC_FLAGS) -O0 >=20 > ################## > # GCC47 X64 definitions > ################## > *_GCC47_X64_OBJCOPY_PATH =3D DEF(GCC47_X64_PREFIX)objcopy > @@ -4898,12 +4915,13 @@ RELEASE_GCC47_IA32_CC_FLAGS =3D > DEF(GCC47_IA32_CC_FLAGS) -Os -Wno-unused-but > *_GCC47_X64_DLINK2_FLAGS =3D DEF(GCC47_X64_DLINK2_FLAGS) > *_GCC47_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC47_X64_OBJCOPY_FLAGS =3D > *_GCC47_X64_NASM_FLAGS =3D -f elf64 >=20 > - DEBUG_GCC47_X64_CC_FLAGS =3D DEF(GCC47_X64_CC_FLAGS) > -RELEASE_GCC47_X64_CC_FLAGS =3D DEF(GCC47_X64_CC_FLAGS) -Wno- > unused-but-set-variable > + DEBUG_GCC47_X64_CC_FLAGS =3D DEF(GCC47_X64_CC_FLAGS) -Os > +RELEASE_GCC47_X64_CC_FLAGS =3D DEF(GCC47_X64_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC47_X64_CC_FLAGS =3D DEF(GCC47_X64_CC_FLAGS) -O0 >=20 > ################## > # GCC47 ARM definitions > ################## > *_GCC47_ARM_CC_PATH =3D ENV(GCC47_ARM_PREFIX)gcc > @@ -4931,10 +4949,11 @@ RELEASE_GCC47_X64_CC_FLAGS =3D > DEF(GCC47_X64_CC_FLAGS) -Wno-unused-but-set-v > *_GCC47_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC47_ARM_CC_XIPFLAGS =3D DEF(GCC47_ARM_CC_XIPFLAGS) >=20 > DEBUG_GCC47_ARM_CC_FLAGS =3D DEF(GCC47_ARM_CC_FLAGS) -O0 > RELEASE_GCC47_ARM_CC_FLAGS =3D DEF(GCC47_ARM_CC_FLAGS) -Wno- > unused-but-set-variable > + NOOPT_GCC47_ARM_CC_FLAGS =3D DEF(GCC47_ARM_CC_FLAGS) -O0 >=20 > ################## > # GCC47 AARCH64 definitions > ################## > *_GCC47_AARCH64_CC_PATH =3D ENV(GCC47_AARCH64_PREFIX)gcc > @@ -4959,10 +4978,11 @@ RELEASE_GCC47_ARM_CC_FLAGS =3D > DEF(GCC47_ARM_CC_FLAGS) -Wno-unused-but-set-v > *_GCC47_AARCH64_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC47_AARCH64_CC_XIPFLAGS =3D DEF(GCC47_AARCH64_CC_XIPFLAGS) >=20 > DEBUG_GCC47_AARCH64_CC_FLAGS =3D DEF(GCC47_AARCH64_CC_FLAGS) > -O0 > RELEASE_GCC47_AARCH64_CC_FLAGS =3D DEF(GCC47_AARCH64_CC_FLAGS) > -Wno-unused-but-set-variable -fomit-frame-pointer > + NOOPT_GCC47_AARCH64_CC_FLAGS =3D DEF(GCC47_AARCH64_CC_FLAGS) > -O0 >=20 >=20 > ########################################################## > ########################## > # > # GCC 4.8 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 4.8. > @@ -5006,10 +5026,11 @@ RELEASE_GCC47_AARCH64_CC_FLAGS =3D > DEF(GCC47_AARCH64_CC_FLAGS) -Wno-unused-but-s > *_GCC48_IA32_OBJCOPY_FLAGS =3D > *_GCC48_IA32_NASM_FLAGS =3D -f elf32 >=20 > DEBUG_GCC48_IA32_CC_FLAGS =3D DEF(GCC48_IA32_CC_FLAGS) -Os > RELEASE_GCC48_IA32_CC_FLAGS =3D DEF(GCC48_IA32_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC48_IA32_CC_FLAGS =3D DEF(GCC48_IA32_CC_FLAGS) -O0 >=20 > ################## > # GCC48 X64 definitions > ################## > *_GCC48_X64_OBJCOPY_PATH =3D DEF(GCC48_X64_PREFIX)objcopy > @@ -5031,12 +5052,13 @@ RELEASE_GCC48_IA32_CC_FLAGS =3D > DEF(GCC48_IA32_CC_FLAGS) -Os -Wno-unused-but > *_GCC48_X64_DLINK2_FLAGS =3D DEF(GCC48_X64_DLINK2_FLAGS) > *_GCC48_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC48_X64_OBJCOPY_FLAGS =3D > *_GCC48_X64_NASM_FLAGS =3D -f elf64 >=20 > - DEBUG_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC_FLAGS) > -RELEASE_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC_FLAGS) -Wno- > unused-but-set-variable > + DEBUG_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC_FLAGS) -Os > +RELEASE_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC_FLAGS) -O0 >=20 > ################## > # GCC48 ARM definitions > ################## > *_GCC48_ARM_CC_PATH =3D ENV(GCC48_ARM_PREFIX)gcc > @@ -5064,10 +5086,11 @@ RELEASE_GCC48_X64_CC_FLAGS =3D > DEF(GCC48_X64_CC_FLAGS) -Wno-unused-but-set-v > *_GCC48_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC48_ARM_CC_XIPFLAGS =3D DEF(GCC48_ARM_CC_XIPFLAGS) >=20 > DEBUG_GCC48_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC_FLAGS) -O0 > RELEASE_GCC48_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC_FLAGS) -Wno- > unused-but-set-variable > + NOOPT_GCC48_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC_FLAGS) -O0 >=20 > ################## > # GCC48 AARCH64 definitions > ################## > *_GCC48_AARCH64_CC_PATH =3D ENV(GCC48_AARCH64_PREFIX)gcc > @@ -5092,10 +5115,11 @@ RELEASE_GCC48_ARM_CC_FLAGS =3D > DEF(GCC48_ARM_CC_FLAGS) -Wno-unused-but-set-v > *_GCC48_AARCH64_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC48_AARCH64_CC_XIPFLAGS =3D DEF(GCC48_AARCH64_CC_XIPFLAGS) >=20 > DEBUG_GCC48_AARCH64_CC_FLAGS =3D DEF(GCC48_AARCH64_CC_FLAGS) > -O0 > RELEASE_GCC48_AARCH64_CC_FLAGS =3D DEF(GCC48_AARCH64_CC_FLAGS) > -Wno-unused-but-set-variable -fomit-frame-pointer > + NOOPT_GCC48_AARCH64_CC_FLAGS =3D DEF(GCC48_AARCH64_CC_FLAGS) > -O0 >=20 >=20 > ########################################################## > ########################## > # > # GCC 4.9 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 4.9. > @@ -5139,10 +5163,11 @@ RELEASE_GCC48_AARCH64_CC_FLAGS =3D > DEF(GCC48_AARCH64_CC_FLAGS) -Wno-unused-but-s > *_GCC49_IA32_OBJCOPY_FLAGS =3D > *_GCC49_IA32_NASM_FLAGS =3D -f elf32 >=20 > DEBUG_GCC49_IA32_CC_FLAGS =3D DEF(GCC49_IA32_CC_FLAGS) -Os > RELEASE_GCC49_IA32_CC_FLAGS =3D DEF(GCC49_IA32_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC49_IA32_CC_FLAGS =3D DEF(GCC49_IA32_CC_FLAGS) -O0 >=20 > ################## > # GCC49 X64 definitions > ################## > *_GCC49_X64_OBJCOPY_PATH =3D DEF(GCC49_X64_PREFIX)objcopy > @@ -5164,12 +5189,13 @@ RELEASE_GCC49_IA32_CC_FLAGS =3D > DEF(GCC49_IA32_CC_FLAGS) -Os -Wno-unused-but > *_GCC49_X64_DLINK2_FLAGS =3D DEF(GCC49_X64_DLINK2_FLAGS) > *_GCC49_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC49_X64_OBJCOPY_FLAGS =3D > *_GCC49_X64_NASM_FLAGS =3D -f elf64 >=20 > - DEBUG_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) > -RELEASE_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -Wno- > unused-but-set-variable > + DEBUG_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -Os > +RELEASE_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + NOOPT_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC_FLAGS) -O0 >=20 > ################## > # GCC49 ARM definitions > ################## > *_GCC49_ARM_CC_PATH =3D ENV(GCC49_ARM_PREFIX)gcc > @@ -5197,10 +5223,11 @@ RELEASE_GCC49_X64_CC_FLAGS =3D > DEF(GCC49_X64_CC_FLAGS) -Wno-unused-but-set-v > *_GCC49_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) > $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS) > *_GCC49_ARM_CC_XIPFLAGS =3D DEF(GCC49_ARM_CC_XIPFLAGS) >=20 > DEBUG_GCC49_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC_FLAGS) -O0 > RELEASE_GCC49_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC_FLAGS) -Wno- > unused-but-set-variable > + NOOPT_GCC49_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC_FLAGS) -O0 >=20 > ################## > # GCC49 AARCH64 definitions > ################## > *_GCC49_AARCH64_CC_PATH =3D ENV(GCC49_AARCH64_PREFIX)gcc > @@ -5229,10 +5256,14 @@ RELEASE_GCC49_ARM_CC_FLAGS =3D > DEF(GCC49_ARM_CC_FLAGS) -Wno-unused-but-set-v > DEBUG_GCC49_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 >=20 > RELEASE_GCC49_AARCH64_CC_FLAGS =3D DEF(GCC49_AARCH64_CC_FLAGS) > -Wno-unused-but-set-variable -mcmodel=3Dtiny -fomit-frame-pointer > RELEASE_GCC49_AARCH64_DLINK_FLAGS =3D > DEF(GCC49_AARCH64_DLINK_FLAGS) >=20 > + NOOPT_GCC49_AARCH64_CC_FLAGS =3D > DEF(GCC49_AARCH64_CC_FLAGS) -O0 -mcmodel=3Dsmall > + NOOPT_GCC49_AARCH64_DLINK_FLAGS =3D > DEF(GCC49_AARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 -O0 > + NOOPT_GCC49_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 > -O0 > + >=20 > ########################################################## > ########################## > # > # GCC 5 - This configuration is used to compile under Linux to produce > # PE/COFF binaries using GCC 5 > # > @@ -5267,18 +5298,23 @@ RELEASE_GCC49_AARCH64_DLINK_FLAGS =3D > DEF(GCC49_AARCH64_DLINK_FLAGS) > *_GCC5_IA32_RC_PATH =3D DEF(GCC5_IA32_PREFIX)objcopy >=20 > *_GCC5_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto > *_GCC5_IA32_ASLDLINK_FLAGS =3D > DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 > *_GCC5_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 - > march=3Di386 > -*_GCC5_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -Os > -Wl,-m,elf_i386,--oformat=3Delf32-i386 > *_GCC5_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) > *_GCC5_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) > *_GCC5_IA32_OBJCOPY_FLAGS =3D > *_GCC5_IA32_NASM_FLAGS =3D -f elf32 >=20 > - DEBUG_GCC5_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) -Os > -RELEASE_GCC5_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) -Os - > Wno-unused-but-set-variable > + DEBUG_GCC5_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) -flto -Os > + DEBUG_GCC5_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -flto -Os -Wl,-m,elf_i386,--oformat=3Delf32-i386 > + > +RELEASE_GCC5_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) -flto -Os > -Wno-unused-but-set-variable > +RELEASE_GCC5_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -flto -Os -Wl,-m,elf_i386,--oformat=3Delf32-i386 > + > + NOOPT_GCC5_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) -O0 > + NOOPT_GCC5_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -Wl,-m,elf_i386,--oformat=3Delf32-i386 -O0 >=20 > ################## > # GCC5 X64 definitions > ################## > *_GCC5_X64_OBJCOPY_PATH =3D DEF(GCC5_X64_PREFIX)objcopy > @@ -5294,18 +5330,23 @@ RELEASE_GCC5_IA32_CC_FLAGS =3D > DEF(GCC5_IA32_CC_FLAGS) -Os -Wno-unused-but-s > *_GCC5_X64_RC_PATH =3D DEF(GCC5_X64_PREFIX)objcopy >=20 > *_GCC5_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto > *_GCC5_X64_ASLDLINK_FLAGS =3D > DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > *_GCC5_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 > -*_GCC5_X64_DLINK_FLAGS =3D DEF(GCC5_X64_DLINK_FLAGS) -Os > *_GCC5_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) > *_GCC5_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_GCC5_X64_OBJCOPY_FLAGS =3D > *_GCC5_X64_NASM_FLAGS =3D -f elf64 >=20 > - DEBUG_GCC5_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) > -RELEASE_GCC5_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) -Wno- > unused-but-set-variable > + DEBUG_GCC5_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) -flto - > DUSING_LTO -Os > + DEBUG_GCC5_X64_DLINK_FLAGS =3D DEF(GCC5_X64_DLINK_FLAGS) -flto > -Os > + > +RELEASE_GCC5_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) -flto - > DUSING_LTO -Os -Wno-unused-but-set-variable > +RELEASE_GCC5_X64_DLINK_FLAGS =3D DEF(GCC5_X64_DLINK_FLAGS) -flto > -Os > + > + NOOPT_GCC5_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) -O0 > + NOOPT_GCC5_X64_DLINK_FLAGS =3D DEF(GCC5_X64_DLINK_FLAGS) -O0 >=20 > ################## > # GCC5 ARM definitions > ################## > *_GCC5_ARM_CC_PATH =3D ENV(GCC5_ARM_PREFIX)gcc > @@ -5334,10 +5375,13 @@ RELEASE_GCC5_X64_CC_FLAGS =3D > DEF(GCC5_X64_CC_FLAGS) -Wno-unused-but-set-va > DEBUG_GCC5_ARM_DLINK_FLAGS =3D DEF(GCC5_ARM_DLINK_FLAGS) >=20 > RELEASE_GCC5_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) -flto - > Wno-unused-but-set-variable > RELEASE_GCC5_ARM_DLINK_FLAGS =3D DEF(GCC5_ARM_DLINK_FLAGS) - > flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt= =3D- > pass-through=3D-llto-arm >=20 > + NOOPT_GCC5_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) -O0 > + NOOPT_GCC5_ARM_DLINK_FLAGS =3D DEF(GCC5_ARM_DLINK_FLAGS) - > O0 > + > ################## > # GCC5 AARCH64 definitions > ################## > *_GCC5_AARCH64_CC_PATH =3D ENV(GCC5_AARCH64_PREFIX)gcc > *_GCC5_AARCH64_SLINK_PATH =3D ENV(GCC5_AARCH64_PREFIX)gcc-ar > @@ -5365,10 +5409,14 @@ RELEASE_GCC5_ARM_DLINK_FLAGS =3D > DEF(GCC5_ARM_DLINK_FLAGS) -flto -Os -L$(WORKS > DEBUG_GCC5_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 >=20 > RELEASE_GCC5_AARCH64_CC_FLAGS =3D DEF(GCC5_AARCH64_CC_FLAGS) - > flto -Wno-unused-but-set-variable -mcmodel=3Dtiny -fomit-frame-pointer > RELEASE_GCC5_AARCH64_DLINK_FLAGS =3D > DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os - > L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin-opt=3D-pass= - > through=3D-llto-aarch64 >=20 > + NOOPT_GCC5_AARCH64_CC_FLAGS =3D DEF(GCC5_AARCH64_CC_FLAGS) - > O0 -mcmodel=3Dsmall > + NOOPT_GCC5_AARCH64_DLINK_FLAGS =3D > DEF(GCC5_AARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 -O0 > + NOOPT_GCC5_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 - > O0 > + >=20 > ########################################################## > ########################## > # > # CLANG35 - This configuration is used to compile under Linux to produ= ce > # PE/COFF binaries using the clang compiler and assembler (v= 3.5 and > up) > # and GNU linker > @@ -5486,11 +5534,11 @@ DEFINE CLANG38_ALL_CC_FLAGS =3D > DEF(GCC44_ALL_CC_FLAGS) -Wno-empty-body -f > *_CLANG38_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno- > lto DEF(CLANG38_IA32_TARGET) > *_CLANG38_IA32_ASLDLINK_FLAGS =3D > DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 > *_CLANG38_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 - > march=3Di386 DEF(CLANG38_IA32_TARGET) > DEBUG_CLANG38_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) - > m32 -Oz -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) -g > RELEASE_CLANG38_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) - > m32 -Oz -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) > -*_CLANG38_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 > +*_CLANG38_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 > *_CLANG38_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) - > O3 > *_CLANG38_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) > *_CLANG38_IA32_OBJCOPY_FLAGS =3D > *_CLANG38_IA32_NASM_FLAGS =3D -f elf32 > *_CLANG38_IA32_PP_FLAGS =3D DEF(GCC_PP_FLAGS) > DEF(CLANG38_IA32_TARGET) > @@ -5515,11 +5563,11 @@ RELEASE_CLANG38_IA32_CC_FLAGS =3D > DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz -flto - > *_CLANG38_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno- > lto DEF(CLANG38_X64_TARGET) > *_CLANG38_X64_ASLDLINK_FLAGS =3D > DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > *_CLANG38_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 > DEF(CLANG38_X64_TARGET) > DEBUG_CLANG38_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) - > m64 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall - > fpie -Oz -flto DEF(CLANG38_X64_TARGET) -g > RELEASE_CLANG38_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) - > m64 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall - > fpie -Oz -flto DEF(CLANG38_X64_TARGET) > -*_CLANG38_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie - > mcmodel=3Dsmall > +*_CLANG38_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) > -flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie - > mcmodel=3Dsmall > *_CLANG38_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O3 > *_CLANG38_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > *_CLANG38_X64_OBJCOPY_FLAGS =3D > *_CLANG38_X64_NASM_FLAGS =3D -f elf64 > *_CLANG38_X64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) > DEF(CLANG38_X64_TARGET) > -- > 2.6.1.windows.1