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:
@@ -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
ChangeLog.d/bugfix_iar_typo.txt
Normal file
3
ChangeLog.d/bugfix_iar_typo.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix
|
||||
* Fixed an issue that caused compile errors when using CMake and the IAR
|
||||
toolchain.
|
||||
Reference in New Issue
Block a user