You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pe...@apache.org on 2024/04/25 09:36:27 UTC
(celix) 08/09: Revert "Suppress all gcc warnings for civetweb on macOS."
This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch hotfix/openssl-update
in repository https://gitbox.apache.org/repos/asf/celix.git
commit 84f9ba6914963f0bf112374cbd88f4189fcda0ab
Author: PengZheng <ho...@gmail.com>
AuthorDate: Thu Apr 25 17:36:04 2024 +0800
Revert "Suppress all gcc warnings for civetweb on macOS."
This reverts commit 25fd38d6d237947bd3a6b04e44924d3d40a880fa.
---
cmake/Findcivetweb.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/Findcivetweb.cmake b/cmake/Findcivetweb.cmake
index 00bc77e9..6cc6546a 100644
--- a/cmake/Findcivetweb.cmake
+++ b/cmake/Findcivetweb.cmake
@@ -21,7 +21,7 @@ if (NOT civetweb_FOUND)
set(CIVETWEB_ENABLE_WEBSOCKETS TRUE CACHE BOOL "" FORCE)
set(CIVETWEB_BUILD_TESTING FALSE CACHE BOOL "" FORCE)
set(BUILD_SHARED_LIBS TRUE CACHE BOOL "" FORCE)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-atomic-implicit-seq-cst -Wno-error")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-atomic-implicit-seq-cst -Wno-alloca -Wno-cast-align -Wno-undef -Wno-date-time")
FetchContent_Declare(
civetweb
GIT_REPOSITORY https://github.com/civetweb/civetweb.git