summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
diff options
context:
space:
mode:
authorRebecca Cran <rebecca@bsdio.com>2023-05-05 07:32:19 -0600
committerLiming Gao <gaoliming@byosoft.com.cn>2023-05-10 10:58:16 +0800
commit9165a7e95ec6263c04c8babfdbe8bee133959300 (patch)
tree997d5ac038661256c6be4c7e3de7208cb5ad975e /CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
parente97b9b4e5a4bd53fd5f18c44390b266a2a89881a (diff)
downloadedk2-9165a7e95ec6263c04c8babfdbe8bee133959300.tar.gz
edk2-9165a7e95ec6263c04c8babfdbe8bee133959300.tar.bz2
edk2-9165a7e95ec6263c04c8babfdbe8bee133959300.zip
CryptoPkg: Delete CLANG35 and CLANG38 build flags; add CLANGDWARF flags
Since CLANG35 and CLANG38 toolchains have been deleted from tools_def.template, delete the build flags for them from CryptoPkg. Since CLANGDWARF has replaced CLANG38, add build flags for it to the CryptoPkg .inf files. Signed-off-by: Rebecca Cran <rebecca@bsdio.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf3
1 files changed, 1 insertions, 2 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
index 5be1724f08..07b9848696 100644
--- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
@@ -110,8 +110,7 @@
#
# suppress the following warnings so we do not break the build with warnings-as-errors:
#
- GCC:*_CLANG35_*_CC_FLAGS = -std=c99
- GCC:*_CLANG38_*_CC_FLAGS = -std=c99
+ GCC:*_CLANGDWARF_*_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