Merge pull request #7959 from billphipps/sgx_c99_fix

Update to use C99 instead of C11 because of lack of SGX support
nightly-snapshot
Daniel Pouzzner 2024-09-10 00:39:40 -05:00 committed by GitHub
commit 213ac1ac0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ ifeq ($(HAVE_WOLFSSL_SP), 1)
endif
Flags_Just_For_C := -Wno-implicit-function-declaration -std=c11
Flags_Just_For_C := -Wno-implicit-function-declaration -std=c99
Common_C_Cpp_Flags := $(SGX_COMMON_CFLAGS) -nostdinc -fvisibility=hidden -fpie -fstack-protector $(Wolfssl_Include_Paths) -fno-builtin-printf -I.
Wolfssl_C_Flags := $(Flags_Just_For_C) $(Common_C_Cpp_Flags) $(Wolfssl_C_Extra_Flags)