Reviewed-by: Jian J Wang <jian.j.w...@intel.com>
Regards, Jian > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Liming Gao > Sent: Thursday, November 14, 2019 4:25 PM > To: devel@edk2.groups.io > Cc: Wang, Jian J <jian.j.w...@intel.com> > Subject: [edk2-devel] [Patch 3/5] CryptoPkg CryptoLib: Update tool chain name > to CLANGPDB > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2341 > > Signed-off-by: Liming Gao <liming....@intel.com> > Cc: Jian J Wang <jian.j.w...@intel.com> > --- > CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 2 +- > CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 2 +- > CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 2 +- > CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 2 +- > CryptoPkg/Library/OpensslLib/OpensslLib.inf | 2 +- > CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 2 +- > 6 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > index dc9e6e5d45..1bbe4f435a 100644 > --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf > @@ -102,6 +102,6 @@ > > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer- > types > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible- > pointer-types > > XCODE:*_*_*_CC_FLAGS = -std=c99 > diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > index 7b07dd13d2..c836c257f8 100644 > --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf > @@ -96,6 +96,6 @@ > > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer- > types > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible- > pointer-types > > XCODE:*_*_*_CC_FLAGS = -std=c99 > diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > index d9e29ef660..bff308a4f5 100644 > --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf > @@ -107,6 +107,6 @@ > > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer- > types > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible- > pointer-types > > XCODE:*_*_*_CC_FLAGS = -std=c99 > diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > index b4faaf3f80..cc0b65fd25 100644 > --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf > @@ -104,4 +104,4 @@ > > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer- > types > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible- > pointer-types > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > index b28dd9e480..44e050f08d 100644 > --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf > +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf > @@ -663,7 +663,7 @@ > GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe- > uninitialized -Wno-format -Wno-error=unused-but-set-variable > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno- > error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit- > function-declaration -Wno-error=ignored-pragma-optimize > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno- > error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit- > function-declaration -Wno-error=ignored-pragma-optimize > > # suppress the following warnings in openssl so we don't break the build > with > warnings-as-errors: > # 1295: Deprecated declaration <entity> - give arg types > diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > index 1b6ff5ed54..f1f9fbb938 100644 > --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf > @@ -612,7 +612,7 @@ > GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) -Wno-error=maybe- > uninitialized -Wno-format -Wno-error=unused-but-set-variable > GCC:*_CLANG35_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > GCC:*_CLANG38_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized > - GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno- > error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit- > function-declaration -Wno-error=ignored-pragma-optimize > + GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=uninitialized -Wno- > error=incompatible-pointer-types -Wno-error=pointer-sign -Wno-error=implicit- > function-declaration -Wno-error=ignored-pragma-optimize > > # suppress the following warnings in openssl so we don't break the build > with > warnings-as-errors: > # 1295: Deprecated declaration <entity> - give arg types > -- > 2.13.0.windows.1 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50655): https://edk2.groups.io/g/devel/message/50655 Mute This Topic: https://groups.io/mt/57226570/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-