blob: ba04f682b4f5d2a9d052e83f7ca6ecb6b4feee46 [file] [log] [blame]
diff -r -Naur a/lib/mbedtls-2.28.0/library/CMakeLists.txt b/lib/mbedtls-2.28.0/library/CMakeLists.txt
--- a/lib/mbedtls-2.28.0/library/CMakeLists.txt 2023-07-07 02:03:28.000000000 -0700
+++ b/lib/mbedtls-2.28.0/library/CMakeLists.txt 2023-07-07 12:44:32.348180846 -0700
@@ -122,7 +122,7 @@
endif(CMAKE_COMPILER_IS_GNUCC)
if(CMAKE_COMPILER_IS_CLANG)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes -Wno-documentation-deprecated-sync -Wunreachable-code")
endif(CMAKE_COMPILER_IS_CLANG)
if(WIN32)
diff -r -Naur a/lib/mbedtls-2.28.0/tests/CMakeLists.txt b/lib/mbedtls-2.28.0/tests/CMakeLists.txt
--- a/lib/mbedtls-2.28.0/tests/CMakeLists.txt 2023-07-07 02:03:28.000000000 -0700
+++ b/lib/mbedtls-2.28.0/tests/CMakeLists.txt 2023-07-07 12:44:42.096881643 -0700
@@ -68,7 +68,7 @@
endif(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG)
if(CMAKE_COMPILER_IS_CLANG)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wdocumentation -Wno-documentation-deprecated-sync -Wunreachable-code")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-documentation-deprecated-sync -Wunreachable-code")
endif(CMAKE_COMPILER_IS_CLANG)
if(MSVC)