]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
CryptoPkg: Append options to make CLANG9 tool chain pass build
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / PeiCryptLib.inf
index 071f8dd0b26478133afe729ab1b47c264d550812..7b07dd13d2f6e4d9cd7cddf46bf7e679c2b6227d 100644 (file)
@@ -15,7 +15,6 @@
 #\r
 #  Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
 #\r
 ##\r
 \r
 #\r
 \r
 [Sources]\r
+  InternalCryptLib.h\r
   Hash/CryptMd4Null.c\r
   Hash/CryptMd5.c\r
   Hash/CryptSha1.c\r
   Hash/CryptSha256.c\r
+  Hash/CryptSm3.c\r
   Hash/CryptSha512.c\r
   Hmac/CryptHmacMd5Null.c\r
   Hmac/CryptHmacSha1Null.c\r
   Hmac/CryptHmacSha256Null.c\r
+  Kdf/CryptHkdfNull.c\r
   Cipher/CryptAesNull.c\r
   Cipher/CryptTdesNull.c\r
   Cipher/CryptArc4Null.c\r
-\r
   Pk/CryptRsaBasic.c\r
   Pk/CryptRsaExtNull.c\r
+  Pk/CryptPkcs1OaepNull.c\r
   Pk/CryptPkcs5Pbkdf2Null.c\r
   Pk/CryptPkcs7SignNull.c\r
   Pk/CryptPkcs7VerifyCommon.c\r
   Pk/CryptPkcs7VerifyBase.c\r
   Pk/CryptPkcs7VerifyEku.c\r
-\r
   Pk/CryptDhNull.c\r
   Pk/CryptX509Null.c\r
   Pk/CryptAuthenticodeNull.c\r
   Pk/CryptTsNull.c\r
   Pem/CryptPemNull.c\r
-\r
   Rand/CryptRandNull.c\r
 \r
   SysCall/CrtWrapper.c\r
@@ -93,3 +93,9 @@
   # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
   # --diag_remark=1     : Reduce severity of "#1-D: last line of file ends without a newline"\r
   RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
+\r
+  GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
+  GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
+  GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
+\r
+  XCODE:*_*_*_CC_FLAGS = -std=c99\r