diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2024-09-11 12:40:18 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-23 06:11:25 +0000 |
commit | 89309fee81c4c6ff08a42578bf0d5e6d50cf9b56 (patch) | |
tree | eb27562ec0c07aca556b63806d34411e6a7a0c0d /CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf | |
parent | 6820004b3e2b6997b8ad8663c548fb3da2fcb3b2 (diff) | |
download | edk2-89309fee81c4c6ff08a42578bf0d5e6d50cf9b56.tar.gz edk2-89309fee81c4c6ff08a42578bf0d5e6d50cf9b56.tar.bz2 edk2-89309fee81c4c6ff08a42578bf0d5e6d50cf9b56.zip |
CryptoPkg/MbedTls CLANGDWARF: Replace outdated CLANG3x references
The CLANG35 and CLANG38 toolchain specifiers have been phased out, and
replaced with CLANGDWARF. Update the MbedTls library definitions
accordingly.
While at it, switch to the gnu99 C dialect, which is a better match with
GCC in C99 mode, which includes GCC specific GNU extensions.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf b/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf index 3c057660d8..5ff7bf4c7b 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf @@ -99,8 +99,7 @@ #
MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718
- GCC:*_CLANG35_*_CC_FLAGS = -std=c99
- GCC:*_CLANG38_*_CC_FLAGS = -std=c99
+ GCC:*_CLANGDWARF_*_CC_FLAGS = -std=gnu99
GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types
XCODE:*_*_*_CC_FLAGS = -std=c99
|