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
+1 -1
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)
+3
View File
@@ -0,0 +1,3 @@
Bugfix
* Fixed an issue that caused compile errors when using CMake and the IAR
toolchain.