1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-10-26 00:37:41 +03:00

Merge pull request #7739 from davidhorstmann-arm/2.28-fix-iar-typo

[Backport 2.28] Fix typo in CMakeList.txt in IAR compiler flags
This commit is contained in:
Gilles Peskine
2023-06-15 19:23:56 +02:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -242,7 +242,7 @@ if(MBEDTLS_FATAL_WARNINGS)
endif(CMAKE_COMPILER_IS_CLANG OR CMAKE_COMPILER_IS_GNU)
if (CMAKE_COMPILER_IS_IAR)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --warning_are_errors")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --warnings_are_errors")
endif(CMAKE_COMPILER_IS_IAR)
endif(MBEDTLS_FATAL_WARNINGS)

View File

@@ -0,0 +1,3 @@
Bugfix
* Fixed an issue that caused compile errors when using CMake and the IAR
toolchain.