From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by mx.groups.io with SMTP id smtpd.web12.20402.1581332365814636949 for ; Mon, 10 Feb 2020 02:59:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@protonmail.com header.s=default header.b=hBQqstd3; spf=pass (domain: protonmail.com, ip: 185.70.40.131, mailfrom: vit9696@protonmail.com) Date: Mon, 10 Feb 2020 10:59:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1581332362; bh=w8QNPl+mxFA1UAsjx91P8QOqcOADhmvZAO74ieyh7OM=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=hBQqstd3WiC95lrfRccZnihXZZWzYqqiLHxBlykfXZ7cERYD3Kzk5mCeZUTcqlg0R GP+mwO9QhUS7k5PZFEmInAWy7gzQIfL+f0nnpxgFz9arfzIvIoaN6ZZBlNhv2i/8ZV vVDF5fwgy5tzH0AnS4qu8lf2hQqN8Ze3G9QBfyl4= To: devel@edk2.groups.io From: "Vitaly Cheptsov" Reply-To: Vitaly Cheptsov Subject: [PATCH 1/1] BaseTools: Switch to GNU mode for CLANGPDB Message-ID: <20200210105919.19192-2-vit9696@protonmail.com> In-Reply-To: <20200210105919.19192-1-vit9696@protonmail.com> References: <20200210105919.19192-1-vit9696@protonmail.com> Feedback-ID: p9QuX-L1wMgUm6nrSvNrf8juLupNs0VSnzXGVXuYDxlEahFdWtaedWDMB9zpwGDklGt7kzs1-RBc0cqz327Gcg==:Ext:ProtonMail MIME-Version: 1.0 X-Spam-Status: No, score=-0.7 required=7.0 tests=ALL_TRUSTED,BAYES_05, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch X-Groupsio-MsgNum: 54130 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="---------------------ae80e435b1297cde2bc3c844d922ddd7"; charset=UTF-8 -----------------------ae80e435b1297cde2bc3c844d922ddd7 Content-Transfer-Encoding: quoted-printable Date: Mon, 10 Feb 2020 13:59:18 +0300 From: Vitaly Cheptsov In-Reply-To: <20200210105919.19192-1-vit9696@protonmail.com> Message-Id: <20200210105919.19192-2-vit9696@protonmail.com> Mime-Version: 1.0 References: <20200210105919.19192-1-vit9696@protonmail.com> Subject: [PATCH 1/1] BaseTools: Switch to GNU mode for CLANGPDB To: devel@edk2.groups.io X-Mailer: git-send-email 2.21.1 (Apple Git-122.3) REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2397 Signed-off-by: Vitaly Cheptsov --- BaseTools/Conf/tools_def.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index feee2bbf16..6bf6c5768e 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -2755,11 +2755,11 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38= _AARCH64_DLINK_FLAGS) -flto -Wl DEFINE CLANGPDB_IA32_PREFIX =3D ENV(CLANG_BIN) DEFINE CLANGPDB_X64_PREFIX =3D ENV(CLANG_BIN) =20 -DEFINE CLANGPDB_IA32_TARGET =3D -target i686-unknown-windows -DEFINE CLANGPDB_X64_TARGET =3D -target x86_64-unknown-windows +DEFINE CLANGPDB_IA32_TARGET =3D -target i686-unknown-windows-gnu +DEFINE CLANGPDB_X64_TARGET =3D -target x86_64-unknown-windows-gn= u =20 DEFINE CLANGPDB_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-ta= utological-compare -Wno-tautological-constant-out-of-range-compare -Wno-emp= ty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option= -Wno-microsoft-enum-forward-reference -DEFINE CLANGPDB_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLANG= PDB_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wn= o-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redec= laration -fno-asynchronous-unwind-tables -mno-implicit-float -ftrap-functi= on=3Dundefined_behavior_has_been_optimized_away_by_clang -funsigned-char -f= no-ms-extensions -Wno-null-dereference -fms-compatibility -mno-stack-arg-pr= obe +DEFINE CLANGPDB_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLANG= PDB_WARNING_OVERRIDES) -fno-stack-protector -fno-asynchronous-unwind-tables= -funsigned-char -ftrap-function=3Dundefined_behavior_has_been_optimized_aw= ay_by_clang -Wno-address -Wno-shift-negative-value -Wno-unknown-pragmas -Wn= o-incompatible-library-redeclaration -Wno-null-dereference -mno-implicit-fl= oat -mms-bitfields -mno-stack-arg-probe -nostdlib -nostdlibinc =20 ########################### # CLANGPDB IA32 definitions --=20 2.21.1 (Apple Git-122.3) -----------------------ae80e435b1297cde2bc3c844d922ddd7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBmBAEBCAAQBQJeQTeJCRBPsoxt7Hy0xQAKCRBPsoxt7Hy0xXszB/0QdLsT OdU48bUOTHo9wIYzyA0GzDDSxR2zTcoVCtAIQICE3zKSG/3yKvxY9cCOXW1D 7YcB6PDzC25syJYDz4Qm6otzbK2+8gWWONGUx3io5DyS6jSpmZ/aBoYBf4ag 5oFANVaVgBJuvNolJjmIV38WfgNwPfiwLrLdm4T+Wve4kAKvIrGkzyG2LexJ Y58bXl1gv/UvXS3/oRATOsTJSAV25iQU6k+gaVajWyi2I35svVkmQPi0XWLp zf7gmcAMqsl4L8Ql1s+m1U6HWcP1XLlP2wXKHYzwwfGJdhR/S7mQrQaAQ+k/ EwXBol2KgA6mBFEd+bVf5biDjoImViFGXiG9 =ZAWN -----END PGP SIGNATURE----- -----------------------ae80e435b1297cde2bc3c844d922ddd7--