Remove C99 requirement from CMake file (#633)

* Remove C99 requirement from CMake file

The kernel source is C89 compliant and does not need C99.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Explicitly set C89 requirement for kernel

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
pull/343/head^2
Gaurav-Aggarwal-AWS 2 years ago committed by GitHub
parent 0a70ecbb51
commit e6514fb1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -230,8 +230,7 @@ endif()
########################################################################
# Requirements
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
set_property(TARGET freertos_kernel PROPERTY C_STANDARD 90)
########################################################################
# Overall Compile Options

Loading…
Cancel
Save