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


The following commit(s) were added to refs/heads/hotfix/openssl-update by this 
push:
     new 25fd38d6 Suppress all gcc warnings for civetweb on macOS.
25fd38d6 is described below

commit 25fd38d6d237947bd3a6b04e44924d3d40a880fa
Author: PengZheng <howto...@gmail.com>
AuthorDate: Thu Apr 25 15:49:11 2024 +0800

    Suppress all gcc warnings for civetweb on macOS.
---
 cmake/Findcivetweb.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/Findcivetweb.cmake b/cmake/Findcivetweb.cmake
index 6cc6546a..00bc77e9 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-alloca -Wno-cast-align -Wno-undef -Wno-date-time")
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-atomic-implicit-seq-cst 
-Wno-error")
     FetchContent_Declare(
             civetweb
             GIT_REPOSITORY https://github.com/civetweb/civetweb.git

Reply via email to