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 5283eb39 Suppress certain gcc warnings on macOS.
5283eb39 is described below

commit 5283eb395b505ca4edef0adab285edb3afef7f47
Author: PengZheng <howto...@gmail.com>
AuthorDate: Thu Apr 25 15:44:20 2024 +0800

    Suppress certain gcc warnings on macOS.
---
 cmake/Findcivetweb.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake/Findcivetweb.cmake b/cmake/Findcivetweb.cmake
index abd14e4c..6cc6546a 100644
--- a/cmake/Findcivetweb.cmake
+++ b/cmake/Findcivetweb.cmake
@@ -21,6 +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")
     FetchContent_Declare(
             civetweb
             GIT_REPOSITORY https://github.com/civetweb/civetweb.git

Reply via email to